mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-26 14:15:53 -05:00
c957f893bd
This commit rearranges the poll handler to immediatly accept updates and notify its peers and return, not travel down the function for a bit. This reduces the DB calls and other holdups that isnt necessary to send a "lite response", a map response without peers, or accepting an endpoint update. Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> |
||
---|---|---|
.. | ||
addresses_test.go | ||
addresses.go | ||
api_key_test.go | ||
api_key.go | ||
db.go | ||
machine_test.go | ||
machine.go | ||
preauth_keys_test.go | ||
preauth_keys.go | ||
routes_test.go | ||
routes.go | ||
suite_test.go | ||
users_test.go | ||
users.go |