Compare commits

..

1 Commits

Author SHA1 Message Date
6e06905773 Replace WriteTimeout with DefaultWriteTimeout in publisher for consistency and bump version to v0.4.2.
Some checks failed
Go / build (push) Has been cancelled
2025-09-11 16:32:40 +01:00
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