Skip to content

Conversation

ckadluba
Copy link
Member

  • Bugfix AuditTo uses shared DB Connection #607: Do not reuse SqlCommand because apparently it is not threadsafe. Set connection on command leads to a exception in audit sink under heavy load.
  • Fixed a glitch in solution file
  • Updated copyright year
  • Updated changelog

* Updated copyright year where applicable
* Removed copyright header from internal classes
It showed perf test project in the samples folder for some reason.
Do not reuse SqlCommand because apparently it is not threadsafe. Set connection on command leads to a exception in audit sink under heavy load.
@ckadluba ckadluba force-pushed the 607-exception-auditto-shared-sqlconnection branch from e0ef000 to edaa008 Compare March 15, 2025 21:48
Cannot remove IDisposable from MSSqlServerAuditSink class without bumping major version, so we leave it the same.
@ckadluba ckadluba force-pushed the 607-exception-auditto-shared-sqlconnection branch from edaa008 to e0cb12a Compare March 15, 2025 21:50
@ckadluba ckadluba added this pull request to the merge queue Mar 15, 2025
Merged via the queue into serilog-mssql:dev with commit 2bf5519 Mar 15, 2025
7 checks passed
@ckadluba ckadluba deleted the 607-exception-auditto-shared-sqlconnection branch July 4, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant