OT-Hub / OTHub

OT Hub is a community-made project for live insights into the OriginTrail Decentralized Network.
https://othub.origin-trail.network/
MIT License
5 stars 2 forks source link

Auto restart services every week #18

Closed lukeskinner closed 4 years ago

lukeskinner commented 4 years ago

The services for OT Hub can run for months without too many issues, occasionally the task scheduler can do some weird things with not firing tasks. It may be worth automatically restarting services once a week. This can be done at the OS level.

lukeskinner commented 4 years ago

If we use Octopus for the deployment mechanism I think we can use that to schedule these restarts to keep Octopus in control of the environment.

lukeskinner commented 4 years ago

Systemd has been configured with RuntimeMaxSec = 2200000 which is 25 days on both testnet and mainnet.