diff options
Diffstat (limited to 'src/core/job.c')
-rw-r--r-- | src/core/job.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/job.c b/src/core/job.c index e92e24e44a..a26f7de450 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -934,6 +934,8 @@ int job_start_timer(Job *j) { if (r < 0) return r; + (void) sd_event_source_set_description(j->timer_event_source, "job-start"); + return 0; } @@ -1130,6 +1132,8 @@ int job_coldplug(Job *j) { if (r < 0) log_debug_errno(r, "Failed to restart timeout for job: %m"); + (void) sd_event_source_set_description(j->timer_event_source, "job-timeout"); + return r; } |