The "new" peer.commandexecutor() (that I added support for in
3bfc430c40eb) waits for all responses to arrive in its exit()
method. I didn't expect that, so I put the processing of the futures
outside the context manager scope. To fix that, we simply need to move
the processing inside the context manager. Note that the command
executor modifies the futures' result() methods so the first result()
call will trigger executor.sendcommands(), so we don't need to
explicitly do that.
Details
Details
- Reviewers
- None
- Group Reviewers
Restricted Project - Commits
- rFBHGX3566090ff7e3: fileserverclient: don't wait for all batches getfiles before processing
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.