Increase trial timeout to 2 hours

Former-commit-id: 2614f902e4292c84b9bc473c8d3a5bba9dfdbc2d
This commit is contained in:
John Sully 2020-01-31 23:35:13 -05:00
parent 1468a96f3a
commit bb2d27661e
2 changed files with 2 additions and 2 deletions

View File

@ -2137,7 +2137,7 @@ int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientData) {
migrateCloseTimedoutSockets();
}
run_with_period(15000) {
run_with_period(30000) {
checkTrialTimeout();
}

View File

@ -1979,7 +1979,7 @@ struct redisServerConst {
unsigned char uuid[UUID_BINARY_LEN]; /* This server's UUID - populated on boot */
sds license_key = nullptr;
int trial_timeout = 20;
int trial_timeout = 120;
int delete_on_evict = false; // Only valid when a storage provider is set
};