mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-10 22:10:06 -05:00
derp: increase update frequency and harden on failures (#2741)
This commit is contained in:
@@ -79,7 +79,7 @@ func (b *MapResponseBuilder) WithSelfNode() *MapResponseBuilder {
|
||||
|
||||
// WithDERPMap adds the DERP map to the response
|
||||
func (b *MapResponseBuilder) WithDERPMap() *MapResponseBuilder {
|
||||
b.resp.DERPMap = b.mapper.state.DERPMap()
|
||||
b.resp.DERPMap = b.mapper.state.DERPMap().AsStruct()
|
||||
return b
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user