[galaxyproject/galaxy] 09c9f2: More structured app shutdown.
Branch: refs/heads/dev Home: https://github.com/galaxyproject/galaxy Commit: 09c9f27f69ae72cac34b1286dfefce125ac404a6 https://github.com/galaxyproject/galaxy/commit/09c9f27f69ae72cac34b1286dfefc... Author: John Chilton <jmchilton@gmail.com> Date: 2017-11-01 (Wed, 01 Nov 2017) Changed paths: M config/galaxy.ini.sample M lib/galaxy/app.py M lib/galaxy/config.py M lib/galaxy/jobs/handler.py M lib/galaxy/jobs/runners/__init__.py A lib/galaxy/util/monitors.py M lib/galaxy/workflow/scheduling_manager.py Log Message: ----------- More structured app shutdown. - Cleanup database engine when shutting down Galaxy app (this wasn't done previously and I think it can cause connection issues when testing across different databases). - Join monitor threads when shutting down (old behavior can be restored by setting wait time for monitor threads back to "0"). See note in galaxy.ini.sample. - Better error handling during shutdown, don't let a failure to cleanup one thing cause other things not to be cleaned up. - New monitor thread mixin based on jobs stuff - reuse for workflows so it properly wakes up workflow scheduling on shutdown. Commit: 7d1bdb28f105f77a0e6f6a8509a32e62765f8a45 https://github.com/galaxyproject/galaxy/commit/7d1bdb28f105f77a0e6f6a8509a32... Author: Dannon Baker <dannon.baker@gmail.com> Date: 2017-11-01 (Wed, 01 Nov 2017) Changed paths: M config/galaxy.ini.sample M lib/galaxy/app.py M lib/galaxy/config.py M lib/galaxy/jobs/handler.py M lib/galaxy/jobs/runners/__init__.py A lib/galaxy/util/monitors.py M lib/galaxy/workflow/scheduling_manager.py Log Message: ----------- Merge pull request #4910 from jmchilton/wind_down_improvement_2 More structured app shutdown. Compare: https://github.com/galaxyproject/galaxy/compare/6b68c5d10ebb...7d1bdb28f105
participants (1)
-
GitHub