diff --git a/.env.example b/.env.example index 2cc30d6..ab604f9 100644 --- a/.env.example +++ b/.env.example @@ -14,7 +14,7 @@ TIPS_INGRESS_METRICS_ADDR=0.0.0.0:9002 TIPS_INGRESS_BLOCK_TIME_MILLISECONDS=2000 TIPS_INGRESS_METER_BUNDLE_TIMEOUT_MS=2000 TIPS_INGRESS_MAX_BUFFERED_METER_BUNDLE_RESPONSES=100 -TIPS_INGRESS_BUILDER_RPCS=http://localhost:2222 +TIPS_INGRESS_BUILDER_RPCS=http://localhost:2222,http://localhost:2222,http://localhost:2222 # Audit service configuration TIPS_AUDIT_KAFKA_PROPERTIES_FILE=/app/docker/audit-kafka-properties diff --git a/crates/ingress-rpc/src/lib.rs b/crates/ingress-rpc/src/lib.rs index 970ab76..3da7d9b 100644 --- a/crates/ingress-rpc/src/lib.rs +++ b/crates/ingress-rpc/src/lib.rs @@ -123,7 +123,7 @@ pub struct Config { pub meter_bundle_timeout_ms: u64, /// URLs of the builder RPC service for setting metering information - #[arg(long, env = "TIPS_INGRESS_BUILDER_RPCS")] + #[arg(long, env = "TIPS_INGRESS_BUILDER_RPCS", value_delimiter = ',')] pub builder_rpcs: Vec, /// Maximum number of `MeterBundleResponse`s to buffer in memory