Page MenuHomePhabricator

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

Authored by max on Nov 2 2022, 2:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 12:51 AM
Unknown Object (File)
Tue, Nov 19, 8:52 PM
Unknown Object (File)
Tue, Nov 19, 8:52 PM
Unknown Object (File)
Tue, Nov 19, 8:51 PM
Unknown Object (File)
Oct 25 2024, 10:09 PM
Unknown Object (File)
Oct 19 2024, 5:53 AM
Unknown Object (File)
Oct 6 2024, 1:09 AM
Unknown Object (File)
Oct 6 2024, 1:06 AM

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.