{
struct timeval tv;
int r;
- time_t last_ping_check, last_config_check, last_graph_dump;
+ time_t last_ping_check, last_config_check;
tevent_t *event;
struct event timeout;
last_ping_check = now;
last_config_check = now;
- last_graph_dump = now;
srand(now);
try_outgoing_connections();
}
-
- /* Dump graph if wanted every 60 seconds*/
-
- if(last_graph_dump + 60 < now) {
- dump_graph();
- last_graph_dump = now;
- }
}
return 0;