Commit 9ac1f12
committed
feat(client): Add maintenance pause mechanism for socket operations
- Introduced `#pausedForMaintenance` flag to temporarily halt writing commands to the socket during maintenance windows.
- Added `#resumeFromMaintenance` method to handle socket replacement and resume operations after maintenance.
- Updated `#write` method to respect the `#pausedForMaintenance` flag, preventing new commands from being written during maintenance.1 parent 724f0e0 commit 9ac1f12
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
445 | 451 | | |
446 | 452 | | |
447 | 453 | | |
| |||
480 | 486 | | |
481 | 487 | | |
482 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
483 | 498 | | |
484 | 499 | | |
485 | 500 | | |
| |||
1135 | 1150 | | |
1136 | 1151 | | |
1137 | 1152 | | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1138 | 1156 | | |
1139 | 1157 | | |
1140 | 1158 | | |
| |||
0 commit comments