Skip to content

Commit

Permalink
bump max queue
Browse files Browse the repository at this point in the history
  • Loading branch information
Bossett committed Sep 4, 2024
1 parent e2a83dd commit e477da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export abstract class FirehoseSubscriptionBase {
const [collection] = commit.ops[0].path.split('/')

if (includedRecords.has(collection)) {
while (runningEvents > 128) await delay(1000)
while (runningEvents > 256) await delay(1000)

await mutex.runExclusive(async () => {
runningEvents++
Expand Down

0 comments on commit e477da3

Please sign in to comment.