mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
add conf item for exact amount of startup netburst.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
0ba8d1318d
commit
93a43a0eda
3 files changed
+22
-2
No files matched your search
@@ -245,6 +245,8 @@ pub struct Config {
|
||||
|
||||
#[serde(default = "true_fn")]
|
||||
pub startup_netburst: bool,
|
||||
#[serde(default = "default_startup_netburst_keep")]
|
||||
pub startup_netburst_keep: i64,
|
||||
|
||||
#[serde(default)]
|
||||
pub block_non_admin_invites: bool,
|
||||
@@ -733,3 +735,5 @@ fn default_url_preview_max_spider_size() -> usize {
|
||||
fn default_new_user_displayname_suffix() -> String { "🏳️⚧️".to_owned() }
|
||||
|
||||
fn default_sentry_traces_sample_rate() -> f32 { 0.15 }
|
||||
|
||||
fn default_startup_netburst_keep() -> i64 { 50 }
|
||||
Reference in new issue
Block a user