Skip to content

jsonrpc: allow a timeout on requestMessage, use it for the DCD prompt - #425

Open
BaruchWeka wants to merge 4 commits into
Pure-D:masterfrom
BaruchWeka:client-prompt-timeouts
Open

jsonrpc: allow a timeout on requestMessage, use it for the DCD prompt#425
BaruchWeka wants to merge 4 commits into
Pure-D:masterfrom
BaruchWeka:client-prompt-timeouts

Conversation

@BaruchWeka

Copy link
Copy Markdown

Clients need not answer showMessageRequest. A fiber waiting on one that
never comes lives for the rest of the process and keeps the main loop from
going idle. Give the DCD update prompt 10 minutes.

(cherry picked from commit f18d73f3c4cc56c928d583db20be407c7db7be1e)

Clients need not answer showMessageRequest. A fiber waiting on one that
never comes lives for the rest of the process and keeps the main loop from
going idle. Give the DCD update prompt 10 minutes.

(cherry picked from commit f18d73f3c4cc56c928d583db20be407c7db7be1e)
resolveWait threw without marking the slot handled, so prepareWait could
never reuse it. Only reachable now that callers pass a finite timeout.

(cherry picked from commit 35c9b3acdef5fc006609fb2206419eb39608ae8f)
Same parked-fiber problem; giving up skips the subproject, as dismissing
the prompt does.

(cherry picked from commit 836b6e085c28b3ab1fbabd646e852b972d6fdcb6)
Same parked-fiber problem; giving up downloads nothing, as dismissing the
prompt does.

(cherry picked from commit 80b4b3325f6adade1e5f88ca7934d37cb5a114ad)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant