Make the write buffer duration configurable

This commit is contained in:
André Duffeck
2025-05-16 10:24:43 +02:00
parent b3017dc774
commit c618c7436a
6 changed files with 29 additions and 12 deletions
@@ -88,6 +88,7 @@ func Server(opts ...Option) (http.Service, error) {
svc.HistoryClient(options.HistoryClient),
svc.ValueClient(options.ValueClient),
svc.RegisteredEvents(options.RegisteredEvents),
svc.WriteBufferDuration(options.Config.WriteBufferDuration),
)
if err != nil {
return http.Service{}, err