@@ -49,13 +49,6 @@ pub struct EnvVarsStore {
4949 /// only as an emergency setting for the hosted service. Remove after
5050 /// 2022-07-01 if hosted service had no issues with it being `true`
5151 pub order_by_block_range : bool ,
52- /// Whether to disable the notifications that feed GraphQL
53- /// subscriptions. When the flag is set, no updates
54- /// about entity changes will be sent to query nodes.
55- ///
56- /// Set by the flag `GRAPH_DISABLE_SUBSCRIPTION_NOTIFICATIONS`. Not set
57- /// by default.
58- pub disable_subscription_notifications : bool ,
5952 /// Set by the environment variable `GRAPH_REMOVE_UNUSED_INTERVAL`
6053 /// (expressed in minutes). The default value is 360 minutes.
6154 pub remove_unused_interval : chrono:: Duration ,
@@ -163,7 +156,6 @@ impl From<InnerStore> for EnvVarsStore {
163156 typea_batch_size : x. typea_batch_size ,
164157 typed_children_set_size : x. typed_children_set_size ,
165158 order_by_block_range : x. order_by_block_range . 0 ,
166- disable_subscription_notifications : x. disable_subscription_notifications . 0 ,
167159 remove_unused_interval : chrono:: Duration :: minutes (
168160 x. remove_unused_interval_in_minutes as i64 ,
169161 ) ,
@@ -207,8 +199,6 @@ pub struct InnerStore {
207199 typed_children_set_size : usize ,
208200 #[ envconfig( from = "ORDER_BY_BLOCK_RANGE" , default = "true" ) ]
209201 order_by_block_range : EnvVarBoolean ,
210- #[ envconfig( from = "GRAPH_DISABLE_SUBSCRIPTION_NOTIFICATIONS" , default = "false" ) ]
211- disable_subscription_notifications : EnvVarBoolean ,
212202 #[ envconfig( from = "GRAPH_REMOVE_UNUSED_INTERVAL" , default = "360" ) ]
213203 remove_unused_interval_in_minutes : u64 ,
214204 #[ envconfig( from = "GRAPH_STORE_RECENT_BLOCKS_CACHE_CAPACITY" , default = "10" ) ]
0 commit comments