Commit c4f6bd0
committed
Refactor backoff handling and improve test wait time for compatibility
- Updated backoff handling logic in the GossipSub class to always add backoff, regardless of topic presence in the mesh.
- Adjusted the wait time in the test_handle_prune function to 0.5 seconds for better compatibility on Windows systems.1 parent 035b699 commit c4f6bd0
File tree
2 files changed
+9
-7
lines changed- libp2p/pubsub
- tests/core/pubsub
2 files changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1085 | 1085 | | |
1086 | 1086 | | |
1087 | 1087 | | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
1093 | 1093 | | |
| 1094 | + | |
| 1095 | + | |
1094 | 1096 | | |
1095 | 1097 | | |
1096 | 1098 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | | - | |
| 210 | + | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
0 commit comments