diff --git a/src/env/limits.ts b/src/env/limits.ts index 8cb182a..4aea733 100644 --- a/src/env/limits.ts +++ b/src/env/limits.ts @@ -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, @@ -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