summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 61cd42f..5acdc21 100644
--- a/src/config.c
+++ b/src/config.c
@@ -65,7 +65,8 @@ static void default_config(fastd_config *conf) {
conf->protocol = &fastd_protocol_null;
conf->secret = NULL;
- conf->key_valid = 3600;
+ conf->key_valid = 3600; /* 60 minutes */
+ conf->key_refresh = 3300; /* 55 minutes */
conf->peers = NULL;