mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 04:51:44 +00:00
3fac6932d4
* update to 5.02.5180 * refresh patches * add deps: libsodium * fix (Build/Install) Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com> fixup
18 lines
772 B
Diff
18 lines
772 B
Diff
--- a/src/Cedar/Server.h
|
|
+++ b/src/Cedar/Server.h
|
|
@@ -35,10 +35,10 @@ extern char *SERVER_CONFIG_FILE_NAME;
|
|
#define SERVER_CONTROL_TCP_TIMEOUT (60 * 1000)
|
|
#define SERVER_FARM_CONTROL_INTERVAL (10 * 1000)
|
|
|
|
-#define SERVER_FILE_SAVE_INTERVAL_DEFAULT (5 * 60 * 1000)
|
|
-#define SERVER_FILE_SAVE_INTERVAL_MIN (5 * 1000)
|
|
-#define SERVER_FILE_SAVE_INTERVAL_MAX (3600 * 1000)
|
|
-#define SERVER_FILE_SAVE_INTERVAL_USERMODE (1 * 60 * 1000)
|
|
+#define SERVER_FILE_SAVE_INTERVAL_DEFAULT (24 * 60 * 60 * 1000)
|
|
+#define SERVER_FILE_SAVE_INTERVAL_MIN (5 * 60 * 1000)
|
|
+#define SERVER_FILE_SAVE_INTERVAL_MAX (7 * 24 * 60 * 60 * 1000)
|
|
+#define SERVER_FILE_SAVE_INTERVAL_USERMODE (5 * 60 * 1000)
|
|
|
|
#define SERVER_LICENSE_VIOLATION_SPAN (SERVER_FARM_CONTROL_INTERVAL * 2)
|
|
|