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

graft::Context.set - OnExpired invoked much later than specified in 'ttl' parameter #411

Open
mbg033 opened this issue Aug 6, 2019 · 0 comments
Assignees

Comments

@mbg033
Copy link
Contributor

mbg033 commented Aug 6, 2019

Example code:
https://github.com/graft-project/graft-ng/blob/develop-rta0719/graftlets/rta/requests/storepaymentdata.cpp#L107

SALE_TTL is defined as

const std::chrono::seconds SALE_TTL = std::chrono::seconds(60);

log:

2019-08-05 19:14:14.129 7fbcf3b2b700 DEBUG supernode.storepaymentdatarequest graftlets/rta/requests/storepaymentdata.cpp:111 storing payment data in global context: d2a6bba14e1
2019-08-05 19:19:29.331 7fbcf1b24700 DEBUG supernode.storepaymentdatarequest graftlets/rta/requests/storepaymentdata.cpp:108 on_expired: payment_id expired: d2a6bba14
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

2 participants