Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase the cancel wait time between thread #106

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

imjacocb
Copy link

@imjacocb imjacocb commented Sep 5, 2024

On our machine, the original timeout is insufficient, causing the USB gadget to close when attempting to cancel a file transfer. We've extended the timeout with additional redundancy to prevent this from happening.

@imjacocb imjacocb marked this pull request as ready for review September 5, 2024 02:50
@jfdelnero
Copy link
Member

5 seconds seems quite long. Can this be reduced to 2 or 3 seconds ?

On our machine, the original timeout is insufficient, causing the USB gadget
to close when attempting to cancel a file transfer. We've extended the timeout
with additional redundancy to prevent this from happening.

Signed-off-by: gujie <jie.gu@leica-geosystems.com.cn>
@imjacocb imjacocb force-pushed the increase-cancel-wait-time branch from 5446f8d to a4a1cd3 Compare November 5, 2024 03:39
@imjacocb
Copy link
Author

imjacocb commented Nov 5, 2024

5 seconds seems quite long. Can this be reduced to 2 or 3 seconds ?

5 seconds seems quite long. Can this be reduced to 2 or 3 seconds ?

Yeah, I tested. 1 second sometimes is not good in our machine. 2 seconds are good. I prefer 2.5 seconds because of adding some redundancy. Thank you.

@jfdelnero jfdelnero merged commit 51a1e43 into viveris:master Nov 7, 2024
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.

3 participants