diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-11-13 19:52:09 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-11-13 19:52:09 +0100 |
commit | de2fdc2a9a12acfc15d631f3406c2ff1cffa12ec (patch) | |
tree | 1144330d717221f3e157429e023a91a9770bae18 /src/util/taler-exchange-secmod-rsa.c | |
parent | 18aba0abbb427a2e0e76ae88f95fef493e74032d (diff) |
refactor CS derive API in preparation for batch API
Diffstat (limited to 'src/util/taler-exchange-secmod-rsa.c')
-rw-r--r-- | src/util/taler-exchange-secmod-rsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c index 1cee02ab0..779e12521 100644 --- a/src/util/taler-exchange-secmod-rsa.c +++ b/src/util/taler-exchange-secmod-rsa.c @@ -1983,7 +1983,7 @@ run (void *cls, GNUNET_SCHEDULER_add_shutdown (&do_shutdown, NULL); if (0 == max_workers) - max_workers = 1; /* FIXME-#7272: or determine from CPU? */ + max_workers = sysconf (_SC_NPROCESSORS_CONF); for (unsigned int i = 0; i<max_workers; i++) if (GNUNET_OK != start_worker ()) |