-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(config): Processing is only for managed mode #3146
Conversation
relay/src/setup.rs
Outdated
@@ -9,6 +9,13 @@ pub fn check_config(config: &Config) -> Result<()> { | |||
); | |||
} | |||
|
|||
if config.relay_mode() == RelayMode::Proxy && config.processing_enabled() { | |||
anyhow::bail!( | |||
"Processing mode cannot be enabled while in the proxy mode. \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Processing mode cannot be enabled while in the proxy mode. \ | |
"Processing mode cannot be enabled while in proxy mode. \ |
relay/src/setup.rs
Outdated
if config.relay_mode() == RelayMode::Proxy && config.processing_enabled() { | ||
anyhow::bail!( | ||
"Processing mode cannot be enabled while in the proxy mode. \ | ||
Please disable processing or switch to managed mode." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might incentivize users to enable processing in managed mode, so I would not even mention it here. Side note: Should Processing
be a separate mode, i.e. variant of RelayMode
, instead of a boolean flag?
Please disable processing or switch to managed mode." | |
" |
Proxy mode should not allow processing to be enabled.
fix: #3048
#skip-changelog