Is there an existing issue for this?
Description
Description
I am using the RabbitMQ-based BackgroundJob implementation. The application starts and runs normally. However, when the RabbitMQ service is restarted during runtime, subsequent calls to _backgroundJobManager.EnqueueAsync will block and never return, causing the thread to hang.
Steps to Reproduce
- Configure and use RabbitMQ as the BackgroundJob provider
- Start the Web API application (works as expected)
- Restart the RabbitMQ service while the application is running
- Call _backgroundJobManager.EnqueueAsync(...)
- Observe that the call blocks indefinitely
Fix solution
Before executing poolItem.Acquire(), make sure that the Channel is not closed.
Reproduction Steps
No response
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
No response
Version
10.1.1
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response
Is there an existing issue for this?
Description
Description
I am using the RabbitMQ-based BackgroundJob implementation. The application starts and runs normally. However, when the RabbitMQ service is restarted during runtime, subsequent calls to _backgroundJobManager.EnqueueAsync will block and never return, causing the thread to hang.
Steps to Reproduce
Fix solution
Before executing poolItem.Acquire(), make sure that the Channel is not closed.
Reproduction Steps
No response
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
No response
Version
10.1.1
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response