mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-09 13:39:39 -05:00
derp: increase update frequency and harden on failures (#2741)
This commit is contained in:
@@ -300,6 +300,7 @@ func LoadConfig(path string, isFile bool) error {
|
||||
viper.SetDefault("derp.server.verify_clients", true)
|
||||
viper.SetDefault("derp.server.stun.enabled", true)
|
||||
viper.SetDefault("derp.server.automatically_add_embedded_derp_region", true)
|
||||
viper.SetDefault("derp.update_frequency", "3h")
|
||||
|
||||
viper.SetDefault("unix_socket", "/var/run/headscale/headscale.sock")
|
||||
viper.SetDefault("unix_socket_permission", "0o770")
|
||||
|
||||
Reference in New Issue
Block a user