Skip to content

Commit bf6ee90

Browse files
apollo_infra: rename client side idle timeout config to keepalive (#13562)
1 parent 872e2a6 commit bf6ee90

32 files changed

Lines changed: 166 additions & 166 deletions

crates/apollo_deployments/resources/services/distributed/batcher.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"components.class_manager.remote_client_config.attempts_per_log": 1,
2626
"components.class_manager.remote_client_config.connection_timeout_ms": 500,
2727
"components.class_manager.remote_client_config.idle_connections": 10,
28-
"components.class_manager.remote_client_config.idle_timeout_ms": 30000,
28+
"components.class_manager.remote_client_config.keepalive_timeout_ms": 30000,
2929
"components.class_manager.remote_client_config.initial_retry_delay_ms": 1,
3030
"components.class_manager.remote_client_config.max_retry_interval_ms": 1000,
3131
"components.class_manager.remote_client_config.retries": 150,
@@ -40,7 +40,7 @@
4040
"components.committer.remote_client_config.attempts_per_log": 1,
4141
"components.committer.remote_client_config.connection_timeout_ms": 500,
4242
"components.committer.remote_client_config.idle_connections": 10,
43-
"components.committer.remote_client_config.idle_timeout_ms": 30000,
43+
"components.committer.remote_client_config.keepalive_timeout_ms": 30000,
4444
"components.committer.remote_client_config.initial_retry_delay_ms": 1,
4545
"components.committer.remote_client_config.max_retry_interval_ms": 1000,
4646
"components.committer.remote_client_config.retries": 150,
@@ -83,7 +83,7 @@
8383
"components.l1_events_provider.remote_client_config.attempts_per_log": 1,
8484
"components.l1_events_provider.remote_client_config.connection_timeout_ms": 500,
8585
"components.l1_events_provider.remote_client_config.idle_connections": 10,
86-
"components.l1_events_provider.remote_client_config.idle_timeout_ms": 30000,
86+
"components.l1_events_provider.remote_client_config.keepalive_timeout_ms": 30000,
8787
"components.l1_events_provider.remote_client_config.initial_retry_delay_ms": 1,
8888
"components.l1_events_provider.remote_client_config.max_retry_interval_ms": 1000,
8989
"components.l1_events_provider.remote_client_config.retries": 0,
@@ -99,7 +99,7 @@
9999
"components.mempool.remote_client_config.attempts_per_log": 1,
100100
"components.mempool.remote_client_config.connection_timeout_ms": 500,
101101
"components.mempool.remote_client_config.idle_connections": 10,
102-
"components.mempool.remote_client_config.idle_timeout_ms": 30000,
102+
"components.mempool.remote_client_config.keepalive_timeout_ms": 30000,
103103
"components.mempool.remote_client_config.initial_retry_delay_ms": 1,
104104
"components.mempool.remote_client_config.max_retry_interval_ms": 1000,
105105
"components.mempool.remote_client_config.retries": 150,
@@ -122,7 +122,7 @@
122122
"components.proof_manager.remote_client_config.attempts_per_log": 1,
123123
"components.proof_manager.remote_client_config.connection_timeout_ms": 500,
124124
"components.proof_manager.remote_client_config.idle_connections": 10,
125-
"components.proof_manager.remote_client_config.idle_timeout_ms": 30000,
125+
"components.proof_manager.remote_client_config.keepalive_timeout_ms": 30000,
126126
"components.proof_manager.remote_client_config.initial_retry_delay_ms": 1,
127127
"components.proof_manager.remote_client_config.max_retry_interval_ms": 1000,
128128
"components.proof_manager.remote_client_config.retries": 150,

crates/apollo_deployments/resources/services/distributed/class_manager.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"components.sierra_compiler.remote_client_config.attempts_per_log": 1,
9898
"components.sierra_compiler.remote_client_config.connection_timeout_ms": 500,
9999
"components.sierra_compiler.remote_client_config.idle_connections": 0,
100-
"components.sierra_compiler.remote_client_config.idle_timeout_ms": 30000,
100+
"components.sierra_compiler.remote_client_config.keepalive_timeout_ms": 30000,
101101
"components.sierra_compiler.remote_client_config.initial_retry_delay_ms": 1,
102102
"components.sierra_compiler.remote_client_config.max_retry_interval_ms": 1000,
103103
"components.sierra_compiler.remote_client_config.retries": 150,

crates/apollo_deployments/resources/services/distributed/committer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"components.batcher.remote_client_config.attempts_per_log": 1,
1212
"components.batcher.remote_client_config.connection_timeout_ms": 500,
1313
"components.batcher.remote_client_config.idle_connections": 10,
14-
"components.batcher.remote_client_config.idle_timeout_ms": 30000,
14+
"components.batcher.remote_client_config.keepalive_timeout_ms": 30000,
1515
"components.batcher.remote_client_config.initial_retry_delay_ms": 1,
1616
"components.batcher.remote_client_config.max_retry_interval_ms": 1000,
1717
"components.batcher.remote_client_config.retries": 150,

crates/apollo_deployments/resources/services/distributed/consensus_manager.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"components.batcher.remote_client_config.attempts_per_log": 1,
1212
"components.batcher.remote_client_config.connection_timeout_ms": 500,
1313
"components.batcher.remote_client_config.idle_connections": 10,
14-
"components.batcher.remote_client_config.idle_timeout_ms": 30000,
14+
"components.batcher.remote_client_config.keepalive_timeout_ms": 30000,
1515
"components.batcher.remote_client_config.initial_retry_delay_ms": 1,
1616
"components.batcher.remote_client_config.max_retry_interval_ms": 1000,
1717
"components.batcher.remote_client_config.retries": 150,
@@ -26,7 +26,7 @@
2626
"components.class_manager.remote_client_config.attempts_per_log": 1,
2727
"components.class_manager.remote_client_config.connection_timeout_ms": 500,
2828
"components.class_manager.remote_client_config.idle_connections": 10,
29-
"components.class_manager.remote_client_config.idle_timeout_ms": 30000,
29+
"components.class_manager.remote_client_config.keepalive_timeout_ms": 30000,
3030
"components.class_manager.remote_client_config.initial_retry_delay_ms": 1,
3131
"components.class_manager.remote_client_config.max_retry_interval_ms": 1000,
3232
"components.class_manager.remote_client_config.retries": 150,
@@ -68,7 +68,7 @@
6868
"components.l1_gas_price_provider.remote_client_config.attempts_per_log": 1,
6969
"components.l1_gas_price_provider.remote_client_config.connection_timeout_ms": 500,
7070
"components.l1_gas_price_provider.remote_client_config.idle_connections": 10,
71-
"components.l1_gas_price_provider.remote_client_config.idle_timeout_ms": 30000,
71+
"components.l1_gas_price_provider.remote_client_config.keepalive_timeout_ms": 30000,
7272
"components.l1_gas_price_provider.remote_client_config.initial_retry_delay_ms": 1,
7373
"components.l1_gas_price_provider.remote_client_config.max_retry_interval_ms": 1000,
7474
"components.l1_gas_price_provider.remote_client_config.retries": 0,
@@ -107,7 +107,7 @@
107107
"components.proof_manager.remote_client_config.attempts_per_log": 1,
108108
"components.proof_manager.remote_client_config.connection_timeout_ms": 500,
109109
"components.proof_manager.remote_client_config.idle_connections": 10,
110-
"components.proof_manager.remote_client_config.idle_timeout_ms": 30000,
110+
"components.proof_manager.remote_client_config.keepalive_timeout_ms": 30000,
111111
"components.proof_manager.remote_client_config.initial_retry_delay_ms": 1,
112112
"components.proof_manager.remote_client_config.max_retry_interval_ms": 1000,
113113
"components.proof_manager.remote_client_config.retries": 150,
@@ -129,7 +129,7 @@
129129
"components.signature_manager.remote_client_config.attempts_per_log": 1,
130130
"components.signature_manager.remote_client_config.connection_timeout_ms": 500,
131131
"components.signature_manager.remote_client_config.idle_connections": 10,
132-
"components.signature_manager.remote_client_config.idle_timeout_ms": 30000,
132+
"components.signature_manager.remote_client_config.keepalive_timeout_ms": 30000,
133133
"components.signature_manager.remote_client_config.initial_retry_delay_ms": 1,
134134
"components.signature_manager.remote_client_config.max_retry_interval_ms": 1000,
135135
"components.signature_manager.remote_client_config.retries": 150,
@@ -144,7 +144,7 @@
144144
"components.state_sync.remote_client_config.attempts_per_log": 1,
145145
"components.state_sync.remote_client_config.connection_timeout_ms": 500,
146146
"components.state_sync.remote_client_config.idle_connections": 10,
147-
"components.state_sync.remote_client_config.idle_timeout_ms": 30000,
147+
"components.state_sync.remote_client_config.keepalive_timeout_ms": 30000,
148148
"components.state_sync.remote_client_config.initial_retry_delay_ms": 1,
149149
"components.state_sync.remote_client_config.max_retry_interval_ms": 1000,
150150
"components.state_sync.remote_client_config.retries": 150,

crates/apollo_deployments/resources/services/distributed/gateway.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"components.class_manager.remote_client_config.attempts_per_log": 1,
1919
"components.class_manager.remote_client_config.connection_timeout_ms": 500,
2020
"components.class_manager.remote_client_config.idle_connections": 10,
21-
"components.class_manager.remote_client_config.idle_timeout_ms": 30000,
21+
"components.class_manager.remote_client_config.keepalive_timeout_ms": 30000,
2222
"components.class_manager.remote_client_config.initial_retry_delay_ms": 1,
2323
"components.class_manager.remote_client_config.max_retry_interval_ms": 1000,
2424
"components.class_manager.remote_client_config.retries": 150,
@@ -83,7 +83,7 @@
8383
"components.mempool.remote_client_config.attempts_per_log": 1,
8484
"components.mempool.remote_client_config.connection_timeout_ms": 500,
8585
"components.mempool.remote_client_config.idle_connections": 10,
86-
"components.mempool.remote_client_config.idle_timeout_ms": 30000,
86+
"components.mempool.remote_client_config.keepalive_timeout_ms": 30000,
8787
"components.mempool.remote_client_config.initial_retry_delay_ms": 1,
8888
"components.mempool.remote_client_config.max_retry_interval_ms": 1000,
8989
"components.mempool.remote_client_config.retries": 150,
@@ -106,7 +106,7 @@
106106
"components.proof_manager.remote_client_config.attempts_per_log": 1,
107107
"components.proof_manager.remote_client_config.connection_timeout_ms": 500,
108108
"components.proof_manager.remote_client_config.idle_connections": 10,
109-
"components.proof_manager.remote_client_config.idle_timeout_ms": 30000,
109+
"components.proof_manager.remote_client_config.keepalive_timeout_ms": 30000,
110110
"components.proof_manager.remote_client_config.initial_retry_delay_ms": 1,
111111
"components.proof_manager.remote_client_config.max_retry_interval_ms": 1000,
112112
"components.proof_manager.remote_client_config.retries": 150,
@@ -135,7 +135,7 @@
135135
"components.state_sync.remote_client_config.attempts_per_log": 1,
136136
"components.state_sync.remote_client_config.connection_timeout_ms": 500,
137137
"components.state_sync.remote_client_config.idle_connections": 10,
138-
"components.state_sync.remote_client_config.idle_timeout_ms": 30000,
138+
"components.state_sync.remote_client_config.keepalive_timeout_ms": 30000,
139139
"components.state_sync.remote_client_config.initial_retry_delay_ms": 1,
140140
"components.state_sync.remote_client_config.max_retry_interval_ms": 1000,
141141
"components.state_sync.remote_client_config.retries": 150,

crates/apollo_deployments/resources/services/distributed/http_server.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"components.gateway.remote_client_config.attempts_per_log": 1,
4545
"components.gateway.remote_client_config.connection_timeout_ms": 500,
4646
"components.gateway.remote_client_config.idle_connections": 0,
47-
"components.gateway.remote_client_config.idle_timeout_ms": 30000,
47+
"components.gateway.remote_client_config.keepalive_timeout_ms": 30000,
4848
"components.gateway.remote_client_config.initial_retry_delay_ms": 1,
4949
"components.gateway.remote_client_config.max_retry_interval_ms": 1000,
5050
"components.gateway.remote_client_config.retries": 150,

crates/apollo_deployments/resources/services/distributed/l1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"components.batcher.remote_client_config.attempts_per_log": 1,
1212
"components.batcher.remote_client_config.connection_timeout_ms": 500,
1313
"components.batcher.remote_client_config.idle_connections": 10,
14-
"components.batcher.remote_client_config.idle_timeout_ms": 30000,
14+
"components.batcher.remote_client_config.keepalive_timeout_ms": 30000,
1515
"components.batcher.remote_client_config.initial_retry_delay_ms": 1,
1616
"components.batcher.remote_client_config.max_retry_interval_ms": 1000,
1717
"components.batcher.remote_client_config.retries": 150,
@@ -126,7 +126,7 @@
126126
"components.state_sync.remote_client_config.attempts_per_log": 1,
127127
"components.state_sync.remote_client_config.connection_timeout_ms": 500,
128128
"components.state_sync.remote_client_config.idle_connections": 10,
129-
"components.state_sync.remote_client_config.idle_timeout_ms": 30000,
129+
"components.state_sync.remote_client_config.keepalive_timeout_ms": 30000,
130130
"components.state_sync.remote_client_config.initial_retry_delay_ms": 1,
131131
"components.state_sync.remote_client_config.max_retry_interval_ms": 1000,
132132
"components.state_sync.remote_client_config.retries": 150,

crates/apollo_deployments/resources/services/distributed/mempool.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"components.class_manager.remote_client_config.attempts_per_log": 1,
1919
"components.class_manager.remote_client_config.connection_timeout_ms": 500,
2020
"components.class_manager.remote_client_config.idle_connections": 10,
21-
"components.class_manager.remote_client_config.idle_timeout_ms": 30000,
21+
"components.class_manager.remote_client_config.keepalive_timeout_ms": 30000,
2222
"components.class_manager.remote_client_config.initial_retry_delay_ms": 1,
2323
"components.class_manager.remote_client_config.max_retry_interval_ms": 1000,
2424
"components.class_manager.remote_client_config.retries": 150,
@@ -52,7 +52,7 @@
5252
"components.gateway.remote_client_config.attempts_per_log": 1,
5353
"components.gateway.remote_client_config.connection_timeout_ms": 500,
5454
"components.gateway.remote_client_config.idle_connections": 0,
55-
"components.gateway.remote_client_config.idle_timeout_ms": 30000,
55+
"components.gateway.remote_client_config.keepalive_timeout_ms": 30000,
5656
"components.gateway.remote_client_config.initial_retry_delay_ms": 1,
5757
"components.gateway.remote_client_config.max_retry_interval_ms": 1000,
5858
"components.gateway.remote_client_config.retries": 150,
@@ -110,7 +110,7 @@
110110
"components.proof_manager.remote_client_config.attempts_per_log": 1,
111111
"components.proof_manager.remote_client_config.connection_timeout_ms": 500,
112112
"components.proof_manager.remote_client_config.idle_connections": 10,
113-
"components.proof_manager.remote_client_config.idle_timeout_ms": 30000,
113+
"components.proof_manager.remote_client_config.keepalive_timeout_ms": 30000,
114114
"components.proof_manager.remote_client_config.initial_retry_delay_ms": 1,
115115
"components.proof_manager.remote_client_config.max_retry_interval_ms": 1000,
116116
"components.proof_manager.remote_client_config.retries": 150,

crates/apollo_deployments/resources/services/distributed/replacer_batcher.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"components.class_manager.remote_client_config.attempts_per_log": 1,
2929
"components.class_manager.remote_client_config.connection_timeout_ms": 500,
3030
"components.class_manager.remote_client_config.idle_connections": 10,
31-
"components.class_manager.remote_client_config.idle_timeout_ms": 30000,
3231
"components.class_manager.remote_client_config.initial_retry_delay_ms": 1,
32+
"components.class_manager.remote_client_config.keepalive_timeout_ms": 30000,
3333
"components.class_manager.remote_client_config.max_response_body_bytes": 8388608,
3434
"components.class_manager.remote_client_config.max_retry_interval_ms": 1000,
3535
"components.class_manager.remote_client_config.request_timeout_ms": 30000,
@@ -44,8 +44,8 @@
4444
"components.committer.remote_client_config.attempts_per_log": 1,
4545
"components.committer.remote_client_config.connection_timeout_ms": 500,
4646
"components.committer.remote_client_config.idle_connections": 10,
47-
"components.committer.remote_client_config.idle_timeout_ms": 30000,
4847
"components.committer.remote_client_config.initial_retry_delay_ms": 1,
48+
"components.committer.remote_client_config.keepalive_timeout_ms": 30000,
4949
"components.committer.remote_client_config.max_response_body_bytes": 8388608,
5050
"components.committer.remote_client_config.max_retry_interval_ms": 1000,
5151
"components.committer.remote_client_config.request_timeout_ms": 30000,
@@ -79,8 +79,8 @@
7979
"components.l1_events_provider.remote_client_config.attempts_per_log": 1,
8080
"components.l1_events_provider.remote_client_config.connection_timeout_ms": 500,
8181
"components.l1_events_provider.remote_client_config.idle_connections": 10,
82-
"components.l1_events_provider.remote_client_config.idle_timeout_ms": 30000,
8382
"components.l1_events_provider.remote_client_config.initial_retry_delay_ms": 1,
83+
"components.l1_events_provider.remote_client_config.keepalive_timeout_ms": 30000,
8484
"components.l1_events_provider.remote_client_config.max_response_body_bytes": 8388608,
8585
"components.l1_events_provider.remote_client_config.max_retry_interval_ms": 1000,
8686
"components.l1_events_provider.remote_client_config.request_timeout_ms": 30000,
@@ -103,8 +103,8 @@
103103
"components.mempool.remote_client_config.attempts_per_log": 1,
104104
"components.mempool.remote_client_config.connection_timeout_ms": 500,
105105
"components.mempool.remote_client_config.idle_connections": 10,
106-
"components.mempool.remote_client_config.idle_timeout_ms": 30000,
107106
"components.mempool.remote_client_config.initial_retry_delay_ms": 1,
107+
"components.mempool.remote_client_config.keepalive_timeout_ms": 30000,
108108
"components.mempool.remote_client_config.max_response_body_bytes": 8388608,
109109
"components.mempool.remote_client_config.max_retry_interval_ms": 1000,
110110
"components.mempool.remote_client_config.request_timeout_ms": 30000,
@@ -126,8 +126,8 @@
126126
"components.proof_manager.remote_client_config.attempts_per_log": 1,
127127
"components.proof_manager.remote_client_config.connection_timeout_ms": 500,
128128
"components.proof_manager.remote_client_config.idle_connections": 10,
129-
"components.proof_manager.remote_client_config.idle_timeout_ms": 30000,
130129
"components.proof_manager.remote_client_config.initial_retry_delay_ms": 1,
130+
"components.proof_manager.remote_client_config.keepalive_timeout_ms": 30000,
131131
"components.proof_manager.remote_client_config.max_response_body_bytes": 8388608,
132132
"components.proof_manager.remote_client_config.max_retry_interval_ms": 1000,
133133
"components.proof_manager.remote_client_config.request_timeout_ms": 30000,

crates/apollo_deployments/resources/services/distributed/replacer_class_manager.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
"components.sierra_compiler.remote_client_config.attempts_per_log": 1,
9393
"components.sierra_compiler.remote_client_config.connection_timeout_ms": 500,
9494
"components.sierra_compiler.remote_client_config.idle_connections": 0,
95-
"components.sierra_compiler.remote_client_config.idle_timeout_ms": 30000,
9695
"components.sierra_compiler.remote_client_config.initial_retry_delay_ms": 1,
96+
"components.sierra_compiler.remote_client_config.keepalive_timeout_ms": 30000,
9797
"components.sierra_compiler.remote_client_config.max_response_body_bytes": 8388608,
9898
"components.sierra_compiler.remote_client_config.max_retry_interval_ms": 1000,
9999
"components.sierra_compiler.remote_client_config.request_timeout_ms": 30000,

0 commit comments

Comments
 (0)