]> jfr.im git - irc/atheme/atheme.git/commitdiff
Merge PR #767 (rehashable general::commit_interval)
authorNicole Kleinhoff <redacted>
Sun, 19 Sep 2021 17:00:36 +0000 (17:00 +0000)
committerNicole Kleinhoff <redacted>
Sun, 19 Sep 2021 17:00:36 +0000 (17:00 +0000)
1  2 
dist/atheme.conf.example
include/atheme/global.h
libathemecore/atheme.c
libathemecore/conf.c

Simple merge
Simple merge
index d63e55b104d201bb780d3d1703cdb5673fee5f84,4d41d59e97a93ee2c891856fce2d222d404769dc..5c657c93a1b12b9cd6e6b7d1d26fc52a56dc799f
@@@ -589,10 -577,9 +590,6 @@@ atheme_main(int argc, char *argv[]
        /* no longer starting */
        runflags &= ~RF_STARTING;
  
-       /* DB commit interval is configurable */
-       if (db_save && !readonly)
-               mowgli_timer_add(base_eventloop, "db_save", db_save_periodic, NULL, config_options.commit_interval);
 -      /* we probably have a few open already... */
 -      me.maxfd = 3;
--
        /* check expires every hour */
        mowgli_timer_add(base_eventloop, "expire_check", expire_check, NULL, SECONDS_PER_HOUR);
  
Simple merge