Skip to content

Commit

Permalink
bring numbers up a little
Browse files Browse the repository at this point in the history
  • Loading branch information
Bossett committed Sep 6, 2024
1 parent 6d60e08 commit 87823d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/env/limits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ const limits = {
DELETE_LIMIT_MAX_RATE: 2_750,
DELETE_LIMIT_RATE_INTERVAL_MS: 60 * 60 * 1000,
// rate limit for plc.directory
PLC_LIMIT_MAX_CONCURRENT: 128,
PLC_LIMIT_MAX_CONCURRENT: 192,
PLC_LIMIT_MAX_DELAY_MS: undefined,
PLC_LIMIT_MAX_RATE: undefined,
PLC_LIMIT_RATE_INTERVAL_MS: undefined,
// rate limit for public API
PUBLIC_LIMIT_MAX_CONCURRENT: 84,
PUBLIC_LIMIT_MAX_CONCURRENT: 96,
PUBLIC_LIMIT_MAX_DELAY_MS: undefined,
PUBLIC_LIMIT_MAX_RATE: undefined,
PUBLIC_LIMIT_RATE_INTERVAL_MS: undefined,
Expand All @@ -31,7 +31,7 @@ const limits = {
// ***** APPLICATION CONFIG *****
AUTHOR_FEED_MAX_RESULTS: 30, // sets the limit parameter requesting an author's posts - 30 is what bsky.app uses so the cache should be fresher
DB_WRITE_INTERVAL_MS: 15 * 60 * 1000, // time between pauses to update firehose sequence and scavenge cache - higher is generally better but you will have to reprocess this much on restart
MAX_CONCURRENT_PROCESSCOMMITS: 64, // this influences # of http requests, so lower can be faster
MAX_CONCURRENT_PROCESSCOMMITS: 96, // this influences # of http requests, so lower can be faster
MAX_FIREHOSE_DELAY: 3 * 60 * 1000, // how long between events before considering the firehose stalled
MIN_FIREHOSE_OPS: 30, // the minimum number of operations per interval before considering the firehose stalled
MAX_PENDING_INSERTS_WAIT_MS: 30 * 1000, // the maximum amount of time between inserting pending label events
Expand Down

0 comments on commit 87823d8

Please sign in to comment.