Uh oh!
There was an error while loading. Please reload this page.
Cleanup transfer manager - #619
Conversation
5b577e3 to
14e0235Compare14e0235 to
985bb73CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mrkajetanp
commented
Feb 28, 2023
With the above changes the PR makes the PerfettoCollector work fine without specifying an explicit pull timeout so looks like it works :) |
985bb73 to
89c8fe4Comparedouglas-raillard-arm
commented
Feb 28, 2023
@mrkajetanp I updated the PR with your review, thanks for testing it |
mrkajetanp
commented
Feb 28, 2023
We should be good to go then! I'll update the Collector PR to drop the timeout in that case |
Uh oh!
There was an error while loading. Please reload this page.
89c8fe4 to
756a96bCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
756a96b to
a05d6c3Comparedouglas-raillard-arm
commented
Mar 16, 2023
PR updated with both typos fixed |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a053d55 to
46f42faComparedouglas-raillard-arm
commented
Apr 4, 2023
PR updated:
Thanks a lot for the testing |
46f42fa to
29517b3Comparedouglas-raillard-arm
commented
Apr 19, 2023
PR updated with:
|
Uh oh!
There was an error while loading. Please reload this page.
Implement a sane interface avoiding variable positional arguments.
29517b3 to
492e337Compare* Split TransferManager and TransferHandle: * TransferManager deals with the generic monitoring. To abort a transfer, it simply cancels the transfer and raises an exception from manage(). * TransferHandle provides a way for the manager to query the state of the transfer and cancel it. It is backend-specific. * Remove most of the state in TransferManager, along with the associated background command leak etc * Use a daemonic monitor thread to behave as excpected on interpreter shutdown. * Ensure a transfer manager _always_ exists. When no management is desired, a noop object is used. This avoids using a None sentinel, which is invariably mishandled by some code leading to crashes. * Try to merge more paths in the code to uncover as many issues as possible in testing. * Fix percentage for SSHTransferHandle (transferred / (remaining + transferred) instead of transferred / remaining) * Rename total_timeout TransferManager parameter and attribute to total_transfer_timeout to match the connection name parameter.
492e337 to
5c53ce3Comparedouglas-raillard-arm
commented
May 3, 2023
PR updated with s/mgr/manager, and rebased on master (there was a conflict so we might want to give it a last spin before merging) |
Cleanup and simplify transfer manager infrastructure to make it more reliable.
WARNING: Not tested on SSH connection yet.
Tested on android along #618