From 6e0690577350646faf2751e21499b0bb9fdc7d81 Mon Sep 17 00:00:00 2001 From: mleku Date: Thu, 11 Sep 2025 16:32:40 +0100 Subject: [PATCH] Replace `WriteTimeout` with `DefaultWriteTimeout` in publisher for consistency and bump version to `v0.4.2`. --- app/publisher.go | 2 +- pkg/version/version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/publisher.go b/app/publisher.go index d73b1b2..996aef0 100644 --- a/app/publisher.go +++ b/app/publisher.go @@ -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() diff --git a/pkg/version/version b/pkg/version/version index be5bf2a..6466da5 100644 --- a/pkg/version/version +++ b/pkg/version/version @@ -1 +1 @@ -v0.4.1 \ No newline at end of file +v0.4.2 \ No newline at end of file