mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
remove analyticsd, clean up script
This commit is contained in:
@@ -113,8 +113,6 @@ pub struct ServerConfig {
|
||||
pub datadir: Option<PathBuf>,
|
||||
#[arg(long = "disable-encryption")]
|
||||
pub disable_encryption: Option<bool>,
|
||||
#[arg(short = 'a', long = "analytics-url")]
|
||||
pub analytics_url: Option<Url>,
|
||||
}
|
||||
impl ContextConfig for ServerConfig {
|
||||
fn next(&mut self) -> Option<PathBuf> {
|
||||
@@ -133,7 +131,6 @@ impl ContextConfig for ServerConfig {
|
||||
.or(other.revision_cache_size);
|
||||
self.datadir = self.datadir.take().or(other.datadir);
|
||||
self.disable_encryption = self.disable_encryption.take().or(other.disable_encryption);
|
||||
self.analytics_url = self.analytics_url.take().or(other.analytics_url);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,6 @@ pub struct RpcContextSeed {
|
||||
pub start_time: Instant,
|
||||
#[cfg(feature = "dev")]
|
||||
pub dev: Dev,
|
||||
pub analytics_url: Option<Url>,
|
||||
}
|
||||
|
||||
pub struct Dev {
|
||||
@@ -191,7 +190,6 @@ impl RpcContext {
|
||||
dev: Dev {
|
||||
lxc: Mutex::new(BTreeMap::new()),
|
||||
},
|
||||
analytics_url: config.analytics_url.clone(),
|
||||
});
|
||||
|
||||
let res = Self(seed.clone());
|
||||
|
||||
Reference in New Issue
Block a user