MCPcopy Create free account
hub / github.com/apache/httpd / next_run_default

Function next_run_default

modules/md/mod_md_drive.c:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245static apr_time_t next_run_default(md_renew_ctx_t *dctx)
246{
247 unsigned char c;
248 apr_time_t delay = dctx->mc->check_interval;
249
250 md_rand_bytes(&c, sizeof(c), dctx->p);
251 return apr_time_now() + delay + (delay * (c - 128) / 256);
252}
253
254static apr_status_t run_watchdog(int state, void *baton, apr_pool_t *ptemp)
255{

Callers 1

run_watchdogFunction · 0.70

Calls 1

md_rand_bytesFunction · 0.85

Tested by

no test coverage detected