File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
coprocessor/fhevm-engine/host-listener/src/bin Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 11name : coprocessor
22description : A helm chart to distribute and deploy Zama fhevm Co-Processor services
3- version : 0.7.6
3+ version : 0.7.7
44apiVersion : v2
55keywords :
66 - fhevm
Original file line number Diff line number Diff line change @@ -243,13 +243,28 @@ hostListenerPoller:
243243
244244 # Command line arguments for the host listener poller
245245 args :
246+ # ## Required parameters
246247 - --database-url=$(DATABASE_URL)
247248 - --coprocessor-api-key=$(TENANT_API_KEY)
248249 - --url=$(ETHEREUM_RPC_HTTP_URL)
249250 - --acl-contract-address=$(ACL_CONTRACT_ADDRESS)
250251 - --tfhe-contract-address=$(FHEVM_EXECUTOR_CONTRACT_ADDRESS)
252+
253+ # ## Polling and block processing parameters
254+ - --finality-lag=3
255+ - --batch-size=100 # Maximum number of blocks to process per iteration
256+ - --poll-interval-ms=6000 # Sleep duration between iterations in milliseconds (half block time ~6s for Ethereum)
257+ - --retry-interval-ms=1000 # Backoff between retry attempts for RPC/DB failures in milliseconds
258+ - --max-http-retries=45 # Maximum number of HTTP/RPC retry attempts before failing an operation
259+ - --rpc-compute-units-per-second=1000 # Rate limiting budget for RPC calls during block catchup (compute units per second)
260+
261+ # ## Observability parameters
251262 - --log-level=INFO
252263 - --health-port=8080
264+ - --service-name=host-listener-poller
265+
266+ # ## Prometheus metrics
267+ - --metrics-addr=0.0.0.0:9100 # Address for Prometheus metrics HTTP server
253268
254269 # Service ports configuration
255270 ports :
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ struct Args {
4949
5050 #[ arg(
5151 long,
52- default_value_t = 1000 ,
52+ default_value_t = 6000 , // half block time ~6s for Ethereum
5353 help = "Sleep duration between iterations in milliseconds"
5454 ) ]
5555 poll_interval_ms : u64 ,
You can’t perform that action at this time.
0 commit comments