Code

sysdbd: Set a default interval of 60 seconds.
authorSebastian Harl <sh@tokkee.org>
Wed, 20 Mar 2013 07:12:53 +0000 (00:12 -0700)
committerSebastian Harl <sh@tokkee.org>
Wed, 20 Mar 2013 07:12:53 +0000 (00:12 -0700)
src/daemon/sysdbd.c

index e977c2f25762df6aade8df8c0f26213d1cd1d870..99c129657ea9b2a445b557765d9577d9516f4bff 100644 (file)
@@ -224,6 +224,7 @@ main(int argc, char **argv)
                        (int)getpid());
 
        sdb_plugin_init_all();
+       plugin_main_loop.default_interval = SECS_TO_SDB_TIME(60);
        sdb_plugin_collector_loop(&plugin_main_loop);
 
        sdb_log(SDB_LOG_INFO, "Shutting down SysDB daemon "SDB_VERSION_STRING