You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
migrations.py imports connections at a module level that leads to ConnectionHandler initialization and creation of DB connection. apps.py imports migrations.py so ConnectionHandler are being initialized on each stage of application initialization.
It seems like the import of ExportMigrations should be changed to function-level as it is described in documentation.
PS PROMETHEUS_EXPORT_MIGRATIONS option change have no effect to this behaviour.
The text was updated successfully, but these errors were encountered:
migrations.py
importsconnections
at a module level that leads toConnectionHandler
initialization and creation of DB connection.apps.py
importsmigrations.py
soConnectionHandler
are being initialized on each stage of application initialization.It seems like the import of
ExportMigrations
should be changed to function-level as it is described in documentation.PS
PROMETHEUS_EXPORT_MIGRATIONS
option change have no effect to this behaviour.The text was updated successfully, but these errors were encountered: