mirror of
https://github.com/juanfont/headscale.git
synced 2025-01-28 00:21:07 +01: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> |
||
---|---|---|
.. | ||
assets | ||
db | ||
derp | ||
mapper | ||
notifier | ||
policy | ||
templates | ||
types | ||
util | ||
app.go | ||
auth_legacy.go | ||
auth_noise.go | ||
auth.go | ||
grpcv1_test.go | ||
grpcv1.go | ||
handler_legacy.go | ||
handler_placeholder.go | ||
handlers.go | ||
metrics.go | ||
noise.go | ||
oidc.go | ||
platform_config.go | ||
poll_legacy.go | ||
poll_noise.go | ||
poll.go | ||
suite_test.go |