SeqIngestionApi is missing a call to ConfigureAwait(false). When writing events to a SeqAuditSink from a thread that has a synchronization context, SeqAuditSink.Emit will block the thread waiting for the HttpClient request to complete, causing a deadlock when the synchronization context tries to resume on the thread that SeqAuditSink.Emit is blocking
SeqIngestionApi
is missing a call toConfigureAwait(false)
. When writing events to aSeqAuditSink
from a thread that has a synchronization context,SeqAuditSink.Emit
will block the thread waiting for theHttpClient
request to complete, causing a deadlock when the synchronization context tries to resume on the thread thatSeqAuditSink.Emit
is blocking