Skip to content

Commit

Permalink
campaignd: Write config to disk every ten minutes, not 60 seconds
Browse files Browse the repository at this point in the history
The 60 seconds value was just intended for internal testing and it
slipped into production by accident.

(Backported 6558bdc from master.)
  • Loading branch information
irydacea committed Oct 11, 2014
1 parent ec94324 commit 69520c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/campaign_server/campaign_server.cpp
Expand Up @@ -255,7 +255,7 @@ void server::run()

const time_t cur_ts = time(NULL);
// Write config to disk every ten minutes.
if(cur_ts - last_ts >= 60) {
if(cur_ts - last_ts >= 10*60) {
write_config();
last_ts = cur_ts;
}
Expand Down

0 comments on commit 69520c4

Please sign in to comment.