Commit 73ed7eb
fix: add fallback polling for missed WebSocket events
The initial fix only handled the case where processing was already
complete on initial page load. This adds a 5-second polling fallback
that re-fetches batch summary to detect completion when WebSocket
events are missed (e.g., all harmful content files processed before
WebSocket connected).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 3f1b99c commit 73ed7eb
1 file changed
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1013 | 1013 | | |
1014 | 1014 | | |
1015 | 1015 | | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
1016 | 1053 | | |
1017 | 1054 | | |
1018 | 1055 | | |
| |||
0 commit comments