mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-19 01:24:21 +01:00
nostrdb: only use 2 ingester threads
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -151,7 +151,7 @@ impl Notedeck {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let theme = ThemeHandler::new(&path);
|
let theme = ThemeHandler::new(&path);
|
||||||
let config = Config::new().set_ingester_threads(4).set_mapsize(map_size);
|
let config = Config::new().set_ingester_threads(2).set_mapsize(map_size);
|
||||||
|
|
||||||
let keystore = if parsed_args.use_keystore {
|
let keystore = if parsed_args.use_keystore {
|
||||||
let keys_path = path.path(DataPathType::Keys);
|
let keys_path = path.path(DataPathType::Keys);
|
||||||
|
|||||||
Reference in New Issue
Block a user