-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use patch to fix ut instead of changing code
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Subject: [PATCH] fix unit test | ||
--- | ||
Index: core/txpool/legacypool/legacypool.go | ||
IDEA additional info: | ||
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | ||
<+>UTF-8 | ||
=================================================================== | ||
diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go | ||
--- a/core/txpool/legacypool/legacypool.go (revision 1233f69823ec26df160575add475f1e949cde211) | ||
+++ b/core/txpool/legacypool/legacypool.go (date 1730875125704) | ||
@@ -391,7 +391,7 @@ | ||
} | ||
|
||
func (pool *LegacyPool) loopOfSync() { | ||
- ticker := time.NewTicker(200 * time.Second) | ||
+ ticker := time.NewTicker(200 * time.Millisecond) | ||
for { | ||
select { | ||
case <-pool.reorgShutdownCh: |