Replace WriteTimeout with DefaultWriteTimeout in publisher for consistency and bump version to v0.4.2.
Some checks failed
Go / build (push) Has been cancelled

This commit is contained in:
2025-09-11 16:32:40 +01:00
parent d1316a5b7a
commit 6e06905773
2 changed files with 2 additions and 2 deletions

View File

@@ -223,7 +223,7 @@ func (p *P) Deliver(ev *event.E) {
// Use a separate context with timeout for writes to prevent race conditions
// where the publisher context gets cancelled while writing events
writeCtx, cancel := context.WithTimeout(
context.Background(), WriteTimeout,
context.Background(), DefaultWriteTimeout,
)
defer cancel()

View File

@@ -1 +1 @@
v0.4.1
v0.4.2