mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Reduce default FIREHOSE_CONCURRENCY to 1
This commit is contained in:
parent
75be90694c
commit
a8b8b8b427
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ class Conf {
|
|||
}
|
||||
/** Number of events the firehose is allowed to process at one time before they have to wait in a queue. */
|
||||
static get firehoseConcurrency(): number {
|
||||
return Math.ceil(Number(Deno.env.get('FIREHOSE_CONCURRENCY') ?? (Conf.pg.poolSize * 0.25)));
|
||||
return Math.ceil(Number(Deno.env.get('FIREHOSE_CONCURRENCY') ?? 1));
|
||||
}
|
||||
/** Nostr event kinds of events to listen for on the firehose. */
|
||||
static get firehoseKinds(): number[] {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue