alephdata / servicelayer

Common interface definitions for aleph toolkit services and applications
MIT License
7 stars 5 forks source link

Use a timer for periodic functions #173

Closed stchris closed 5 months ago

stchris commented 5 months ago

Currently the function which runs periodic tasks is called when new tasks come in, which makes it non-deterministic when the next run is.

This uses an Timer object to check every 30 seconds.

Requires https://github.com/alephdata/aleph/pull/3739 to work