chiefonboarding / ChiefOnboarding

Free and open-source employee onboarding platform. Onboard new hires through Slack or the web portal.
https://chiefonboarding.com
GNU Affero General Public License v3.0
661 stars 122 forks source link

Reset timed triggers check for when developing to avoid timeout of worker #338

Closed GDay closed 1 year ago

GDay commented 1 year ago

When a dev has not used their environment for a while, the timed_triggers function will take a long time to complete. Potentially timing out the task.

To avoid this, there is a command now, which will run when supervisor starts to reset the last check field to now. This will only work for the development setup, obviously not on production as it could skip tasks.

coveralls commented 1 year ago

Coverage Status

coverage: 93.402% (-0.004%) from 93.406% when pulling 8ae4c726356e6abd9d4b7a42161c0af7904d06cb on reset-timed-triggers-check-for-dev into f209faf0bd3520f651680692d217449d2c2418bb on master.