From d7dd9eb9be26b473a356eba6d4409e811028e6d9 Mon Sep 17 00:00:00 2001 From: Shubhang Balkundi Date: Sat, 30 Mar 2024 10:05:38 +0530 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3551f11..54a774d 100644 --- a/README.md +++ b/README.md @@ -106,9 +106,9 @@ func main() { ```go ziggurat.Ziggurat{ - Logger StructuredLogger // a logger implementation of ziggurat.StructuredLogger - WaitTimeout time.Duration // wait timeout when consumers are shutdown - ErrorHandler func(err error) // a notifier for when one of the message consumers is shutdown abruptly + Logger StructuredLogger // a logger implementation of ziggurat.StructuredLogger + ShutdownTimeout time.Duration // wait timeout when consumers are shutdown default value: 6 seconds + ErrorHandler func(err error) // a notifier for when one of the message consumers is shutdown abruptly } ```