Browse Source

Replace `WriteTimeout` with `DefaultWriteTimeout` in publisher for consistency and bump version to `v0.4.2`.

main
mleku 4 months ago
parent
commit
6e06905773
No known key found for this signature in database
  1. 2
      app/publisher.go
  2. 2
      pkg/version/version

2
app/publisher.go

@ -223,7 +223,7 @@ func (p *P) Deliver(ev *event.E) { @@ -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()

2
pkg/version/version

@ -1 +1 @@ @@ -1 +1 @@
v0.4.1
v0.4.2
Loading…
Cancel
Save