mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
Registration and restoring allocs don't share state or depend on each other in any way (syncing allocs with servers is done outside of registration). Since restoring is synchronous, start the registration goroutine first. For nodes with lots of allocs to restore or close to their heartbeat deadline, this could be the difference between becoming "lost" or not.
84 KiB
84 KiB