--- a/src/Cedar/Server.h +++ b/src/Cedar/Server.h @@ -32,10 +32,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)