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

Remove timed out sessions #41

Open
pavel-kirienko opened this issue Jul 18, 2023 · 0 comments
Open

Remove timed out sessions #41

pavel-kirienko opened this issue Jul 18, 2023 · 0 comments
Assignees
Milestone

Comments

@pavel-kirienko
Copy link
Member

pavel-kirienko commented Jul 18, 2023

That is possible, but then we will need to traverse all sessions periodically to find timed out transfers. This may be difficult to arrange in some time-sensitive applications.

Alternatively, we could keep a view of all sessions ordered by the last update time, and check that view every time the receive function is invoked, without having to extend the API. The default timeout could be some multiple of the transfer-ID timeout. This can be done after the "significant completion" is reached.

Originally posted by @pavel-kirienko in #38 (comment)

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

No branches or pull requests

1 participant