mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add todo regarding reload safety
This commit is contained in:
parent
35e211e330
commit
7129a35900
@ -59,6 +59,7 @@ class PluginAppConfig(AppConfig):
|
|||||||
|
|
||||||
def reload_plugins(self):
|
def reload_plugins(self):
|
||||||
"""safely reload IntegrationPlugins"""
|
"""safely reload IntegrationPlugins"""
|
||||||
|
# TODO check if the system is in maintainance mode before reloading
|
||||||
logger.info('Start reloading plugins')
|
logger.info('Start reloading plugins')
|
||||||
self.unload_plugins()
|
self.unload_plugins()
|
||||||
self.load_plugins()
|
self.load_plugins()
|
||||||
|
Loading…
Reference in New Issue
Block a user