mirror of
https://github.com/juanfont/headscale.git
synced 2026-03-31 06:23:21 +02:00
This commit adds a new field to machine, lastSuccessfulUpdate which tracks when we last was able to send a proper mapupdate to the node. The purpose of this is to be able to compare to a "global" last updated time and determine if we need to send an update map request to a node. In addition it allows us to create a scheduled check to see if all known nodes are up to date. Also, add a helper function to send a message to the update channel of a machine.
7.8 KiB
7.8 KiB