HangfireIO / HangfireIO/Hangfire
High database CPU usage (postgres)
Open
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
We noticed that the top queries executed on our DB cluster on production are from hangfire:

The CPU usage from hangfire it's almost the same as our whole platform. Is there a way to tweak these queries? Maybe we can adjust the parameters in order not to be executed so often? Also, have you considered redirecting read-only queries to read-only replicas by allowing specifying 2 different connection strings?
What are your suggestions?
Contributor guide
Assessment
This issue has not been assessed yet.