commit 4d938d6be06ae596e59aef483d33bcf93887e1e3
parent d08532738aa0a122685eb6922ff1ad49e7d53b95
Author: William Casarin <jb55@jb55.com>
Date: Wed, 29 Nov 2023 12:02:04 -0800
util/ndb: reduce threads a bit
We should probably base this off our system cpu, but I'm lazy atm and am
using a laptop with only 4 core
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ndb.c b/ndb.c
@@ -62,7 +62,7 @@ static void print_stats(struct ndb_stat *stat)
int main(int argc, char *argv[])
{
struct ndb *ndb;
- int threads = 8;
+ int threads = 6;
int flags = 0;
struct ndb_stat stat;
const char *dir;