nixos/firefox-syncserver: set default for oauth verifier threads
the 0.12.1 update introduced a static thread pool for verifying oauth tokens. set a reasonable default for self-hosted setups (10 threads).
This commit is contained in:
parent
609a1e8038
commit
8dc30e9e98
|
@ -19,6 +19,9 @@ let
|
|||
fxa_email_domain = "api.accounts.firefox.com";
|
||||
fxa_oauth_server_url = "https://oauth.accounts.firefox.com/v1";
|
||||
run_migrations = true;
|
||||
# if JWK caching is not enabled the token server must verify tokens
|
||||
# using the fxa api, on a thread pool with a static size.
|
||||
additional_blocking_threads_for_fxa_requests = 10;
|
||||
} // lib.optionalAttrs cfg.singleNode.enable {
|
||||
# Single-node mode is likely to be used on small instances with little
|
||||
# capacity. The default value (0.1) can only ever release capacity when
|
||||
|
|
Loading…
Reference in a new issue