Skip to content

Commit

Permalink
move down max events - trying to keep CPU < 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
Bossett committed Sep 5, 2024
1 parent 2d94c91 commit 727469b
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 @@ -49,7 +49,7 @@ export abstract class FirehoseSubscriptionBase {
const [collection] = commit.ops[0].path.split('/')

if (includedRecords.has(collection)) {
while (runningEvents > 96) {
while (runningEvents > 32) {
await delay(10)
}

Expand Down

0 comments on commit 727469b

Please sign in to comment.