Skip to content

Conversation

@emintham
Copy link
Contributor

  • Fix plugins being reloaded each time when the path to plugins has init files.
  • The init files will be found by self._get_modules but since they are not
    plugins, they will never be registered in self._plugins. This causes plugins to
    be reloaded each time.

- Fix plugins being reloaded each time when the path to plugins has __init__ files.
- The __init__ files will be found by `self._get_modules` but since they are not
   plugins, they will never be registered in `self._plugins`. This causes plugins to
   be reloaded each time.
@emintham
Copy link
Contributor Author

Without this change, on develop, BusinessUnitReactView.get_ui_context_data takes approximately 3.3s every time. This change makes subsequent calls take 0.014s!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants