Skip to content

Commit

Permalink
Fix NotSupportedException during background processing
Browse files Browse the repository at this point in the history
  • Loading branch information
odinserj committed Apr 12, 2023
1 parent 2e68768 commit a9c4d7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Hangfire.InMemory/InMemoryTransaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ public override void AddToQueue([NotNull] string queue, [NotNull] string jobId)
});
}

public override void RemoveFromQueue([NotNull] IFetchedJob fetchedJob)
{
// Nothing to do here
}

public override void IncrementCounter([NotNull] string key)
{
if (key == null) throw new ArgumentNullException(nameof(key));
Expand Down

0 comments on commit a9c4d7a

Please sign in to comment.