derp: increase update frequency and harden on failures (#2741)
This commit is contained in:
parent
51c6367bb1
commit
b87567628a
10 changed files with 417 additions and 67 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue