The database is polled every 30 seconds to determine the farm status; at startup the first poll is done after 1 second to get a faster status. Note that when jobs and workers change their status, the farm status is always updated.
internal/tools/tools.go