@@ -168,15 +168,6 @@ pub struct EnvVars {
168
168
/// Set by the flag `GRAPH_LOG_TRIGGER_DATA`. Off by
169
169
/// default.
170
170
pub log_trigger_data : bool ,
171
- /// Set by the environment variable `GRAPH_EXPLORER_TTL`
172
- /// (expressed in seconds). The default value is 10s.
173
- pub explorer_ttl : Duration ,
174
- /// Set by the environment variable `GRAPH_EXPLORER_LOCK_THRESHOLD`
175
- /// (expressed in milliseconds). The default value is 100ms.
176
- pub explorer_lock_threshold : Duration ,
177
- /// Set by the environment variable `GRAPH_EXPLORER_QUERY_THRESHOLD`
178
- /// (expressed in milliseconds). The default value is 500ms.
179
- pub explorer_query_threshold : Duration ,
180
171
/// Set by the environment variable `EXTERNAL_HTTP_BASE_URL`. No default
181
172
/// value is provided.
182
173
pub external_http_base_url : Option < String > ,
@@ -313,9 +304,6 @@ impl EnvVars {
313
304
postpone_attribute_index_creation : inner. postpone_attribute_index_creation . 0
314
305
|| cfg ! ( debug_assertions) ,
315
306
log_trigger_data : inner. log_trigger_data . 0 ,
316
- explorer_ttl : Duration :: from_secs ( inner. explorer_ttl_in_secs ) ,
317
- explorer_lock_threshold : Duration :: from_millis ( inner. explorer_lock_threshold_in_msec ) ,
318
- explorer_query_threshold : Duration :: from_millis ( inner. explorer_query_threshold_in_msec ) ,
319
307
external_http_base_url : inner. external_http_base_url ,
320
308
external_ws_base_url : inner. external_ws_base_url ,
321
309
static_filters_threshold : inner. static_filters_threshold ,
@@ -476,12 +464,6 @@ struct Inner {
476
464
postpone_attribute_index_creation : EnvVarBoolean ,
477
465
#[ envconfig( from = "GRAPH_LOG_TRIGGER_DATA" , default = "false" ) ]
478
466
log_trigger_data : EnvVarBoolean ,
479
- #[ envconfig( from = "GRAPH_EXPLORER_TTL" , default = "10" ) ]
480
- explorer_ttl_in_secs : u64 ,
481
- #[ envconfig( from = "GRAPH_EXPLORER_LOCK_THRESHOLD" , default = "100" ) ]
482
- explorer_lock_threshold_in_msec : u64 ,
483
- #[ envconfig( from = "GRAPH_EXPLORER_QUERY_THRESHOLD" , default = "500" ) ]
484
- explorer_query_threshold_in_msec : u64 ,
485
467
#[ envconfig( from = "EXTERNAL_HTTP_BASE_URL" ) ]
486
468
external_http_base_url : Option < String > ,
487
469
#[ envconfig( from = "EXTERNAL_WS_BASE_URL" ) ]
0 commit comments