From 11ae18ae94a853a612a18a38158c84e641081fda Mon Sep 17 00:00:00 2001 From: Andrew Davis <1709934+Savid@users.noreply.github.com> Date: Thu, 9 Mar 2023 13:06:05 +1000 Subject: [PATCH] feat(mimicry): extend the ignore period for initial connection --- pkg/mimicry/p2p/execution/execution.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/mimicry/p2p/execution/execution.go b/pkg/mimicry/p2p/execution/execution.go index 1c52f48d..af63dcae 100644 --- a/pkg/mimicry/p2p/execution/execution.go +++ b/pkg/mimicry/p2p/execution/execution.go @@ -190,8 +190,8 @@ func (p *Peer) Start(ctx context.Context) (<-chan error, error) { "fork_id_next": fmt.Sprintf("%d", status.ForkID.Next), }).Debug("got client status") - // set the ignore before time to 1 minute in the future - ignoreBefore := time.Now().Add(1 * time.Minute) + // set the ignore before time to 3 minute in the future + ignoreBefore := time.Now().Add(3 * time.Minute) p.ignoreBefore = &ignoreBefore return nil