2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 18:15:40 +00:00

Plugin auto migrate (#5668)

* Improved handling of race condition when saving setting value

* Improvements for managing pending migrations

- Inform user if there are outstanding migrations
- reload plugin registry (if necessary)

* Increase django-q polling time

According to this thread, should reduce multiple workers taking the same task:

https://github.com/Koed00/django-q/issues/183#issuecomment-239676084

* Revert default behavior

* Better logging

* Remove comment

* Update unit test

* Revert maintenance mode behaviour

* raise ValidationError in settings
This commit is contained in:
Oliver
2023-10-06 11:38:01 +11:00
committed by GitHub
parent c7eb90347a
commit 7ab5ddcd7d
9 changed files with 93 additions and 36 deletions

View File

@ -17,3 +17,6 @@ INVENTREE_DB_PASSWORD=pgpassword
# Enable custom plugins?
INVENTREE_PLUGINS_ENABLED=True
# Auto run migrations?
INVENTREE_AUTO_UPDATE=False