From 2a76f1decd6dd7719d1c78184633e8eceed71a40 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 8 Jan 2015 16:14:05 -0500 Subject: [PATCH] publish own RouterInfo every 40 minutes if nothing changed --- NetDb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetDb.cpp b/NetDb.cpp index c959edb8..612cdfb2 100644 --- a/NetDb.cpp +++ b/NetDb.cpp @@ -162,7 +162,7 @@ namespace data } lastSave = ts; } - if (ts - lastPublish >= 600) // publish every 10 minutes + if (ts - lastPublish >= 2400) // publish every 40 minutes { Publish (); lastPublish = ts;