- // paranoia
- if (period < 1) period = 1;
-
- // divide up tables into period * 1/10th sec slices
- t_slice = config->cluster_highest_tunnelid / 10.0 * period + 0.5;
- r_slice = (MAXRADIUS - 1) / 10.0 * period + 0.5;
- s_slice = config->cluster_highest_sessionid / 10.0 * period + 0.5;
-
- if (t_slice < 1)
- t_slice = 1;
- else if (t_slice > config->cluster_highest_tunnelid)
- t_slice = config->cluster_highest_tunnelid;
-
- if (r_slice < 1)
- r_slice = 1;
- else if (r_slice > (MAXRADIUS - 1))
- r_slice = MAXRADIUS - 1;
-
- if (s_slice < 1)
- s_slice = 1;
- else if (s_slice > config->cluster_highest_sessionid)
- s_slice = config->cluster_highest_sessionid;
-
- LOG(4, 0, 0, "Begin regular cleanup (last %d/10s ago)\n", period);
+ LOG(3, 0, 0, "Begin regular cleanup\n");