You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently we have run into problems with using WriteTo Hangfire with Serilog Async sink combination (on postgresql).
There was multiple NpgsqlOperationInProgressException exceptions rised.
It took a whole day to match, that Async was reusing a connection to postgres and run on it same time when DbLock was removing.
TLDR it would be a good idea to add a comment to NOT use Async sink when using WriteTo: Hangfire :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Recently we have run into problems with using WriteTo Hangfire with Serilog Async sink combination (on postgresql).
There was multiple NpgsqlOperationInProgressException exceptions rised.
It took a whole day to match, that Async was reusing a connection to postgres and run on it same time when DbLock was removing.
TLDR it would be a good idea to add a comment to NOT use Async sink when using WriteTo: Hangfire :)
Beta Was this translation helpful? Give feedback.
All reactions