Page MenuHomePhabricator

D5526.id18154.diff
No OneTemporary

D5526.id18154.diff

diff --git a/services/tunnelbroker/src/constants.rs b/services/tunnelbroker/src/constants.rs
new file mode 100644
--- /dev/null
+++ b/services/tunnelbroker/src/constants.rs
@@ -0,0 +1,2 @@
+pub const GRPC_TX_QUEUE_SIZE: usize = 32;
+pub const GRPC_PING_INTERVAL_MS: u64 = 3000;
diff --git a/services/tunnelbroker/src/main.rs b/services/tunnelbroker/src/main.rs
--- a/services/tunnelbroker/src/main.rs
+++ b/services/tunnelbroker/src/main.rs
@@ -1,3 +1,5 @@
+pub mod constants;
+
#[cxx::bridge]
mod ffi {
unsafe extern "C++" {

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 2, 4:09 PM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2608159
Default Alt Text
D5526.id18154.diff (532 B)

Event Timeline