damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 4e4e8ed460ed7efb64cf696cf1df81e7942081f9
parent 3605edad8b7fe3f1cc7a8bdc70cbe6208ab9ff2d
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  1 Dec 2023 13:56:24 -0800

nostrdb/rename get_physical_cores to get_cpu_cores

less wrong

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mnostrdb/nostrdb.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nostrdb/nostrdb.c b/nostrdb/nostrdb.c @@ -4398,7 +4398,7 @@ inline int ndb_builder_push_tag_str(struct ndb_builder *builder, // void ndb_default_config(struct ndb_config *config) { - int cores = get_physical_cores(); + int cores = get_cpu_cores(); config->mapsize = 1024UL * 1024UL * 1024UL * 32UL; // 32 GiB config->ingester_threads = cores == -1 ? 4 : cores; config->flags = 0;