chiark
/
gitweb
/
~ian
/
hippotat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cc7698
)
wip resolve, comment out for macro work, for revert
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 24 Jul 2021 00:15:04 +0000
(
01:15
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 24 Jul 2021 00:15:04 +0000
(
01:15
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/config.rs
patch
|
blob
|
history
diff --git
a/src/config.rs
b/src/config.rs
index fc67125f1212dffdc343b1b747d68e235f141874..7f90f4ba5bc0a0b30c5dc6c6d6f760e2b2976474 100644
(file)
--- a/
src/config.rs
+++ b/
src/config.rs
@@
-24,13
+24,15
@@
pub struct Opts {
pub struct CidrString(pub String);
pub struct InstanceConfig {
+/*
// Exceptional settings
pub server: String,
pub secret: String, // make a newytpe
pub ipif: String,
-
+*/
// Capped settings:
pub max_batch_down: u32,
+/*
pub max_queue_time: Duration,
pub http_timeout: Duration,
pub target_requests_outstanding: u32,
@@
-55,6
+57,7
@@
pub struct InstanceConfig {
pub http_retry: Duration,
pub url: Uri,
pub vroutes: Vec<CidrString>,
+*/
}
#[derive(Debug,Clone,Hash,Eq,PartialEq)]