mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 16:02:32 +00:00
Co-authored-by: orca-bug-scan-bot <orca-bug-scan-bot@stably.ai>
This commit is contained in:
co-authored by
orca-bug-scan-bot
parent
66bbe1c443
commit
05286ce00b
@@ -275,7 +275,11 @@ function LocalWorkspacePortsPanel({ isVisible }: { isVisible: boolean }): React.
|
||||
}
|
||||
|
||||
async function run(): Promise<void> {
|
||||
await refresh()
|
||||
try {
|
||||
await refresh()
|
||||
} catch {
|
||||
// Why: a transient RPC failure must not halt the poll loop.
|
||||
}
|
||||
if (!cancelled) {
|
||||
timeout = setTimeout(() => void run(), LOCAL_PORT_SCAN_INTERVAL_MS)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user