Commit 28ba3f1
authored
Reduce session ping frequency from 30s to 5m, log at trace level (skycoin#371)
The ping loop measures latency to DMSG servers for server selection.
It is not a keepalive (yamux handles that). 30s was excessive,
generating N_clients * N_servers debug log lines every 30 seconds.
Changed to 5 minutes and lowered log level from Debug to Trace.1 parent 2c86ee5 commit 28ba3f1
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
530 | 533 | | |
531 | | - | |
| 534 | + | |
532 | 535 | | |
533 | 536 | | |
534 | 537 | | |
| |||
552 | 555 | | |
553 | 556 | | |
554 | 557 | | |
555 | | - | |
| 558 | + | |
556 | 559 | | |
557 | 560 | | |
558 | 561 | | |
559 | 562 | | |
560 | | - | |
| 563 | + | |
561 | 564 | | |
562 | 565 | | |
0 commit comments