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

Dont rely on operator[] side effects #1168

Merged

Conversation

majestrate
Copy link
Contributor

No description provided.

@majestrate majestrate force-pushed the inter-node-commit-fixes-2020-03-07 branch from 0e6f286 to 7d331e3 Compare March 11, 2020 16:12
// persist session to downstream until path expiration
self->context->Router()->PersistSessionUntil(
self->hop->info.downstream, self->hop->ExpireTime() + 10s);
self->hop->info.downstream, now + path::default_lifetime);
// put hop
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now + path::default_lifetime may way overshoot the actual remaining life of a path, although this is probably harmless

@majestrate majestrate force-pushed the inter-node-commit-fixes-2020-03-07 branch from 7d331e3 to 7ba30ee Compare March 11, 2020 20:55
@majestrate majestrate requested a review from notlesh March 11, 2020 20:55
@majestrate majestrate merged commit ec2f691 into oxen-io:dev Mar 11, 2020
@majestrate majestrate deleted the inter-node-commit-fixes-2020-03-07 branch February 24, 2021 20:00
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