InvenTree/docker
Lukas 073a275d89
Skip ready functions if not in main thread or plugins are not loaded yet ()
* Skip ready functions if not in main thread or plugins are not loaded yet

* Debug integration tests

* Update ready.py

* Update ready.py

* Fix isInMainThread and isPluginRegistryLoaded ready functions

* Preload gunicorn app to only invoke the appconfig ready functions once

* debug: test prints for statistics

* Remove debug print

* Test without

* Revert "Test without"

This reverts commit 1bc1872893.

* Second test

* Add checks back to part, label, user model

* Add checks back to inventree, plugin apps

* log server output for debugging

* hopefully I can get the log this time+

* Next test

* Test with --noreload

* Next test

* trigger: ci, because session expired

* block the second ready execution instead of the first

* fix: load order

* Fix test and revert gh actions workflow change

* Added all_apps method to reload machanism

* Changed detect reload mechanism

* Also trigger ready on reload

* Add skipping second reload back for testing mode

* Added doc string back

* Update InvenTree/plugin/base/integration/AppMixin.py
2023-07-26 08:33:13 +10:00
..
production Remove container-name:s from Compose file () 2023-07-25 12:51:37 +10:00
docker-compose.sqlite.yml Fix common spelling mistakes () 2023-06-04 00:04:52 +10:00
gunicorn.conf.py Skip ready functions if not in main thread or plugins are not loaded yet () 2023-07-26 08:33:13 +10:00
init.sh Refactor: Dockerimage () 2023-07-10 19:52:33 +10:00
nginx.dev.conf Add content headers to config () 2022-09-30 10:47:56 +10:00
requirements.txt Docker build: Update python deps () 2023-07-18 19:43:45 +10:00