Merge branch 'feature/nostr-remote_signing' into live
This commit is contained in:
1 file changed
+16
-4
+16
-4
@@ -7,21 +7,33 @@ default: &default
|
||||
threads: 3
|
||||
processes: <%= ENV.fetch("JOB_CONCURRENCY", 1) %>
|
||||
polling_interval: 0.1
|
||||
- queues: [nostr_connect, nostr_rpc]
|
||||
threads: 4
|
||||
# NIP-46 signing round-trips block up to 90s, so keep them off the
|
||||
# long-blocking listener pool below.
|
||||
- queues: [nostr_rpc]
|
||||
threads: <%= ENV.fetch("NOSTR_RPC_THREADS", 4) %>
|
||||
processes: 1
|
||||
polling_interval: 0.1
|
||||
# NostrConnectListenerJob holds a worker thread for up to
|
||||
# NostrSignerSession::CONNECT_TTL (5 min) waiting on relay websockets
|
||||
# (it aborts within ~60s once the browser stops polling status). These
|
||||
# are IO-blocked, so scale with cheap threads rather than processes.
|
||||
- queues: [nostr_connect]
|
||||
threads: <%= ENV.fetch("NOSTR_CONNECT_THREADS", 24) %>
|
||||
processes: <%= ENV.fetch("NOSTR_CONNECT_CONCURRENCY", 1) %>
|
||||
polling_interval: 0.1
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
workers:
|
||||
- queues: [default, nostr]
|
||||
threads: 1
|
||||
- queues: [nostr_connect, nostr_rpc]
|
||||
- queues: [nostr_rpc]
|
||||
threads: 2
|
||||
- queues: [nostr_connect]
|
||||
threads: 4
|
||||
|
||||
test:
|
||||
<<: *default
|
||||
|
||||
production:
|
||||
<<: *default
|
||||
<<: *default
|
||||
Reference in new issue
Block a user