mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-10 01:20:58 +01:00
poll: add missing godoc (#2763)
This commit is contained in:
parent
d41fb4d540
commit
c91b9fc761
@ -100,6 +100,8 @@ func (m *mapSession) beforeServeLongPoll() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// afterServeLongPoll is called when a long-polling session ends and the node
|
||||||
|
// is disconnected.
|
||||||
func (m *mapSession) afterServeLongPoll() {
|
func (m *mapSession) afterServeLongPoll() {
|
||||||
if m.node.IsEphemeral() {
|
if m.node.IsEphemeral() {
|
||||||
m.h.ephemeralGC.Schedule(m.node.ID, m.h.cfg.EphemeralNodeInactivityTimeout)
|
m.h.ephemeralGC.Schedule(m.node.ID, m.h.cfg.EphemeralNodeInactivityTimeout)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user