uktrade / public-data-api

The source for the Department for International Trade's Public Data API
https://data.api.trade.gov.uk/
MIT License
5 stars 0 forks source link

feat: add monitoring thread to worker that writes to heartbeat file #205

Closed michalc closed 2 months ago

michalc commented 2 months ago

This makes the worker write the current timestamp (seconds since epoch) to a file. This isn't used right now, but will be used when we move to DBT Platform.

There might be a follow up change - a command line to run to check if this file exists and has a recent timestamp.