Page MenuHomePhabricator

[services] Tunnelbroker - Adding of `constants.rs` file
ClosedPublic

Authored by max on Nov 2 2022, 2:23 PM.
Tags
None
Referenced Files
F2211367: D5526.diff
Mon, Jul 8, 2:09 AM
Unknown Object (File)
Wed, Jul 3, 5:45 PM
Unknown Object (File)
Wed, Jun 26, 11:24 AM
Unknown Object (File)
Tue, Jun 25, 11:55 PM
Unknown Object (File)
Tue, Jun 25, 11:55 PM
Unknown Object (File)
Tue, Jun 25, 11:55 PM
Unknown Object (File)
Tue, Jun 25, 11:54 PM
Unknown Object (File)
Tue, Jun 25, 11:48 PM

Details

Summary

Following the current codebase approach, this diff introduces the constants.rs file which will contain global constants.
The currently added constants are:

  • GRPC_TX_QUEUE_SIZE - The gRPC stream queue size. Used in D5529.
  • GRPC_PING_INTERVAL_MS - Client pinging interval. Used in D5529.

Linear task: ENG-1247

Test Plan

Passing the build tests in D5529.

Diff Detail

Repository
rCOMM Comm
Branch
D5526
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

max held this revision as a draft.
max published this revision for review.Nov 2 2022, 4:38 PM
max edited the summary of this revision. (Show Details)
max edited the test plan for this revision. (Show Details)
max added a reviewer: marcin. max added 1 blocking reviewer(s): jon.
max added inline comments.
services/tunnelbroker/src/main.rs
1 ↗(On Diff #18040)

We should add this as a mod into the main to use it as super::constants later in D5529.

This revision is now accepted and ready to land.Nov 3 2022, 10:04 AM
This revision now requires review to proceed.Nov 3 2022, 10:25 AM
This revision is now accepted and ready to land.Nov 4 2022, 7:30 AM

Rebasing on master changes.

This revision was landed with ongoing or failed builds.Nov 7 2022, 9:44 AM
This revision was automatically updated to reflect the committed changes.