chore: Remove the default sentry endpoint
This commit is contained in:
parent
dad407fb22
commit
f76f669d16
2 changed files with 3 additions and 5 deletions
|
@ -1428,7 +1428,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.
|
||||||
|
|
|
@ -1636,7 +1636,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>,
|
||||||
|
|
||||||
|
@ -2207,9 +2207,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 }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue