Muni

Muni

2.5k Downloads

Establish a Muni Heartbeat

xiebozhi opened this issue ยท 1 comments

commented

Have an event fire and check for outstanding tasks every 15 or 30 minutes.

commented

On startup, check the number of ticks before the next hour and schedule the first heartbeat. Then each heartbeat schedules the next so there are never more than 1 heartbeats scheduled. The heartbeat also checks for voting tasks to be completed. These may turn out to be delayed tasks so that computations can be spread out a bit. May change the heartbeat to hourly instead of 15/30 minutes