HangfireIO / HangfireIO/Hangfire

Add latency to `SucceededJobDto`

Open
#2,300 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

The `SucceededJobDto` class contains the `TotalDuration`, which seems also to include the latency.

It would be useful to be able to distinguish between the execution time and latency, for instance in cases where you want to assess the execution speed of the job.

Could the latency be added to `SucceededJobDto`?

Also, it might be useful to add duration and latency to the `FailedJobDto` class.

Contributor guide

Open the contributing guide

Research direction

Start by locating the SucceededJobDto and FailedJobDto classes and tracing how TotalDuration is populated. Determine how execution time and latency should be distinguished for successful and failed jobs, then verify that the DTOs expose the requested values consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.