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

Function md_job_notify

modules/md/md_status.c:695–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695apr_status_t md_job_notify(md_job_t *job, const char *reason, md_result_t *result)
696{
697 apr_status_t rv;
698
699 md_result_set(result, APR_SUCCESS, NULL);
700 rv = md_event_raise(reason, job->mdomain, job, result, job->p);
701 job->dirty = 1;
702 if (APR_SUCCESS == rv && APR_SUCCESS == result->status) {
703 job->notified = 1;
704 if (!strcmp("renewed", reason)) {
705 job->notified_renewed = 1;
706 }
707 }
708 else {
709 ++job->error_runs;
710 job->next_run = apr_time_now() + md_job_delay_on_errors(job, job->error_runs, result->problem);
711 }
712 return result->status;
713}
714

Callers 2

process_drive_jobFunction · 0.85
job_result_raiseFunction · 0.85

Calls 3

md_result_setFunction · 0.85
md_event_raiseFunction · 0.85
md_job_delay_on_errorsFunction · 0.85

Tested by

no test coverage detected