We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74fef3d commit f85292aCopy full SHA for f85292a
1 file changed
relay-server/src/processing/mod.rs
@@ -6,7 +6,7 @@
6
//!
7
//! The processor service, will then do its actual work using the processing logic defined here.
8
9
-use relay_config::Config;
+use relay_config::{Config, RelayMode};
10
use relay_dynamic_config::GlobalConfig;
11
use relay_quotas::RateLimits;
12
use relay_sampling::evaluation::ReservoirCounters;
@@ -108,8 +108,6 @@ impl<'a> Context<'a> {
108
/// when there is no full project config available. This is the case in stat and proxy
109
/// Relays.
110
pub fn should_filter(&self, feature: relay_dynamic_config::Feature) -> bool {
111
- use relay_config::RelayMode;
112
-
113
match self.config.relay_mode() {
114
RelayMode::Proxy => false,
115
RelayMode::Managed => !self.project_info.has_feature(feature),
0 commit comments