From 5eac8d761874d9a82fdaf59136ee48727cbd0761 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Thu, 8 Dec 2022 11:30:45 +0800 Subject: [PATCH] rpc: enable the ADR 075 event log by default in new configs (#8572) (#9856) --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index ffc521a41..50ee19e02 100644 --- a/config/config.go +++ b/config/config.go @@ -462,7 +462,7 @@ func DefaultRPCConfig() *RPCConfig { MaxSubscriptionClients: 100, MaxSubscriptionsPerClient: 5, ExperimentalDisableWebsocket: false, // compatible with TM v0.35 and earlier - EventLogWindowSize: 0, // disables /events RPC by default + EventLogWindowSize: 30 * time.Second, EventLogMaxItems: 0, TimeoutBroadcastTxCommit: 10 * time.Second,