mirror of https://github.com/LemmyNet/lemmy.git
Increase default worker count (#2120)
parent
ffd2ba5d90
commit
3c5275638f
|
@ -59,8 +59,10 @@
|
||||||
# use allowlist only for remote communities, and posts/comments in local communities
|
# use allowlist only for remote communities, and posts/comments in local communities
|
||||||
# (meaning remote communities will show content from arbitrary instances).
|
# (meaning remote communities will show content from arbitrary instances).
|
||||||
strict_allowlist: true
|
strict_allowlist: true
|
||||||
# Number of workers for sending outgoing activities.
|
# Number of workers for sending outgoing activities. Search logs for Activity queue stats to
|
||||||
worker_count: 16
|
# see information. If running number is consistently close to the worker_count, you should
|
||||||
|
# increase it.
|
||||||
|
worker_count: 64
|
||||||
}
|
}
|
||||||
captcha: {
|
captcha: {
|
||||||
# Whether captcha is required for signup
|
# Whether captcha is required for signup
|
||||||
|
|
|
@ -130,8 +130,10 @@ pub struct FederationConfig {
|
||||||
/// (meaning remote communities will show content from arbitrary instances).
|
/// (meaning remote communities will show content from arbitrary instances).
|
||||||
#[default(true)]
|
#[default(true)]
|
||||||
pub strict_allowlist: bool,
|
pub strict_allowlist: bool,
|
||||||
/// Number of workers for sending outgoing activities.
|
/// Number of workers for sending outgoing activities. Search logs for "Activity queue stats" to
|
||||||
#[default(16)]
|
/// see information. If "running" number is consistently close to the worker_count, you should
|
||||||
|
/// increase it.
|
||||||
|
#[default(64)]
|
||||||
pub worker_count: u64,
|
pub worker_count: u64,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue