Skip to content

Commit

Permalink
fix_: reduce filter loop to 300ms
Browse files Browse the repository at this point in the history
  • Loading branch information
cammellos committed Aug 26, 2024
1 parent f958925 commit 3b9d82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wakuv2/filter_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func newFilterManager(ctx context.Context, logger *zap.Logger, cfg *Config, onNe
mgr.node = node
mgr.onlineChecker = onlinechecker.NewDefaultOnlineChecker(false).(*onlinechecker.DefaultOnlineChecker)
mgr.node.SetOnlineChecker(mgr.onlineChecker)
mgr.filterSubBatchDuration = 5 * time.Second
mgr.filterSubBatchDuration = 300 * time.Millisecond
mgr.incompleteFilterBatch = make(map[string]filterConfig)
mgr.filterConfigs = make(appFilterMap)
mgr.waitingToSubQueue = make(chan filterConfig, 100)
Expand Down

0 comments on commit 3b9d82f

Please sign in to comment.