Skip to content

Commit 657e3f4

Browse files
committed
increase error submit time
Signed-off-by: Hagar Meir <[email protected]>
1 parent cbfa292 commit 657e3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

request/pending.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ func (ps *PendingStore) Submit(request []byte) error {
329329

330330
reqID := ps.Inspector.RequestID(request)
331331

332-
if ps.now().Sub(ps.lastSecondStrike()) <= 2*ps.SecondStrikeThreshold {
332+
if ps.now().Sub(ps.lastSecondStrike()) <= 3*ps.SecondStrikeThreshold {
333333
return errors.Errorf("there was a second strike not long ago")
334334
}
335335

0 commit comments

Comments
 (0)