Removing the expire from the constructor because we will fulfill it at the DB insertion phase at DatabaseManager's insert.
Constant with the max message TTL in the database was added.
Paths
| Differential D3808 Authored by • max on Apr 21 2022, 8:29 AM.
Details Summary Removing the expire from the constructor because we will fulfill it at the DB insertion phase at DatabaseManager's insert. Constant with the max message TTL in the database was added. Test Plan Run yarn test-tunnelbroker-service all tests are run and succeed.
Diff Detail
Event TimelineHerald added subscribers: • abosh, • benschac, • karol and 4 others. · View Herald TranscriptApr 21 2022, 8:30 AM2022-04-21 08:30:00 (UTC-7) • max edited the test plan for this revision. (Show Details)Apr 21 2022, 8:31 AM2022-04-21 08:31:14 (UTC-7) Harbormaster completed remote builds in B8405: Diff 11729.Apr 21 2022, 8:35 AM2022-04-21 08:35:00 (UTC-7) Herald added a reviewer: • karol. · View Herald TranscriptApr 21 2022, 8:35 AM2022-04-21 08:35:00 (UTC-7) tomek added inline comments.
This revision now requires changes to proceed.Apr 26 2022, 4:29 AM2022-04-26 04:29:58 (UTC-7) Comment Actions Rebase on master. Multiplication of the MESSAGE_RECORD_TTL was changed due to the comment. Harbormaster completed remote builds in B8758: Diff 12204.May 4 2022, 6:38 AM2022-05-04 06:38:16 (UTC-7) • max added inline comments.
• max marked an inline comment as done.
Harbormaster completed remote builds in B8772: Diff 12219.May 4 2022, 7:39 AM2022-05-04 07:39:37 (UTC-7) This revision is now accepted and ready to land.May 4 2022, 9:07 AM2022-05-04 09:07:05 (UTC-7) Harbormaster completed remote builds in B8789: Diff 12237.May 4 2022, 11:50 AM2022-05-04 11:50:54 (UTC-7) Closed by commit rCOMM41dc63dfca2d: [services] Tunnelbroker - Message expiration fulfill moved to database… (authored by • max). · Explain WhyMay 4 2022, 11:54 AM2022-05-04 11:54:38 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 12240 services/tunnelbroker/src/Constants.h
services/tunnelbroker/src/Database/DatabaseManager.cpp
services/tunnelbroker/src/Database/MessageItem.h
services/tunnelbroker/src/Database/MessageItem.cpp
|