Something went wrong. Try again.
Identities for entities did.bot
agent llm did
Something went wrong. Try again.
perf(serve): bound Argon2id hashing to a fixed pool of workers master
createSession ran Argon2id inline on the async runtime, and the per-address rate limiter alone did not cap how many hashes could run at once; on the 2 GiB t3.small this deploys onto, enough concurrent callers could exhaust memory well before hitting any per-caller limit. Move the hash onto spawn_blocking behind an 8-permit semaphore, which caps hashing memory at roughly 152 MiB regardless of client concurrency. Change-Id: I689c3954c2305a71134d7ad6a8d02688d3a60fa7
Author
permadeath.com Committer Tangled Date (Sep 9, 2026, 1:42 PM UTC) Commit 8bd819e2 8bd819e2c901472c8bc7bb69c41dd9ebc47d899e Parent 9d405166 9d4051664bd376145fa0c69fd266f5380e74c405