Remove the default sentry endpoint.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -1418,7 +1418,7 @@
|
|||||||
|
|
||||||
# Sentry reporting URL, if a custom one is desired.
|
# Sentry reporting URL, if a custom one is desired.
|
||||||
#
|
#
|
||||||
#sentry_endpoint = "https://fe2eb4536aa04949e28eff3128d64757@o4506996327251968.ingest.us.sentry.io/4506996334657536"
|
#sentry_endpoint = ""
|
||||||
|
|
||||||
# Report your conduwuit server_name in Sentry.io crash reports and
|
# Report your conduwuit server_name in Sentry.io crash reports and
|
||||||
# metrics.
|
# metrics.
|
||||||
|
|||||||
@@ -1626,7 +1626,7 @@ pub struct Config {
|
|||||||
/// Sentry reporting URL, if a custom one is desired.
|
/// Sentry reporting URL, if a custom one is desired.
|
||||||
///
|
///
|
||||||
/// display: sensitive
|
/// display: sensitive
|
||||||
/// default: "https://fe2eb4536aa04949e28eff3128d64757@o4506996327251968.ingest.us.sentry.io/4506996334657536"
|
/// default: ""
|
||||||
#[serde(default = "default_sentry_endpoint")]
|
#[serde(default = "default_sentry_endpoint")]
|
||||||
pub sentry_endpoint: Option<Url>,
|
pub sentry_endpoint: Option<Url>,
|
||||||
|
|
||||||
@@ -2197,9 +2197,7 @@ fn default_url_preview_max_spider_size() -> usize {
|
|||||||
|
|
||||||
fn default_new_user_displayname_suffix() -> String { "🏳️⚧️".to_owned() }
|
fn default_new_user_displayname_suffix() -> String { "🏳️⚧️".to_owned() }
|
||||||
|
|
||||||
fn default_sentry_endpoint() -> Option<Url> {
|
fn default_sentry_endpoint() -> Option<Url> { None }
|
||||||
Url::parse("https://fe2eb4536aa04949e28eff3128d64757@o4506996327251968.ingest.us.sentry.io/4506996334657536").ok()
|
|
||||||
}
|
|
||||||
|
|
||||||
fn default_sentry_traces_sample_rate() -> f32 { 0.15 }
|
fn default_sentry_traces_sample_rate() -> f32 { 0.15 }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user