Commit b9084a7
authored
Revert: swss: flush g_asicState after each event is done sonic-net#570 (sonic-net#1478)
**What I did**
Revert sonic-net/sonic-swss#570
We should only `flush` the orchagent/syncd communication channel when there is no active tasks in orchagent. This will not influence the end-to-end performance in long run but introduce SELECT_TIMEOUT (1 s) latency if there is remaining data left inside the orchagent/syncd communication channel after previous `flush`, which is not a big deal.
Fix sonic-net#55701 parent d6e15e9 commit b9084a7
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
469 | 475 | | |
470 | 476 | | |
471 | 477 | | |
| |||
479 | 485 | | |
480 | 486 | | |
481 | 487 | | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | 488 | | |
491 | 489 | | |
492 | 490 | | |
| |||
0 commit comments