Scale akkounts Solid Queue workers and guard unit memory #713

Merged
raucao merged 2 commits from chore/akkounts_workers into master 2026-11-27 13:14:05 +00:00
2 Commits
Author SHA1 Message Date
raucao a39383940f Bump chef-nodes submodule for akkounts-2 kernel refresh
The akkounts-2 node file gained the 6.8.0-151-generic kernel version after
its reboot during the VM resize.
2026-11-27 17:09:30 +04:00
raucao 05d58872fe Scale akkounts Solid Queue workers and guard unit memory
Size the akkounts background workers for the 4 GB / 4 vCPU VM:

* JOB_CONCURRENCY=6 scales the `default,nostr` worker group.
* NOSTR_CONNECT_THREADS=24 and NOSTR_RPC_THREADS=4 size the separate
  nostr_connect (long-blocking listeners) and nostr_rpc (signing) pools.
* DB_POOL=24 keeps the pool >= the largest worker thread count.

Also cap the unit with MemoryHigh/MemoryMax, and restart the service when
the unit body changes since it now carries this configuration.
2026-11-27 17:09:30 +04:00