HangfireIO / HangfireIO/Hangfire

Scheduled Emails Delay and duplications

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

Description

We are using Hangfire 1.6.17 in Asp.net Core and SQL Server Azure to schedule emails to be sent to subscribers.
A RecurringJob is created to check for scheduled messages to be sent by email.
We are facing an issue that sometimes the message is sent multiple times with a delay. let's say the message is scheduled to be sent at 6:30. Its sent at 6:32 with duplication.
Any suggestion to fix this issue?
Thank you

Contributor guide

Open the contributing guide

Research direction

Start with the RecurringJob setup and Hangfire server logs around the 6:30–6:32 window; compare the scheduled job history with email-send records. A useful resolution would identify whether the delay and duplication come from scheduling, retries, or the email handler, then document a reproducible fix for Hangfire 1.6.17 on ASP.NET Core with Azure SQL Server.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, sql
Domain
backend, cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.