Skip to content

Commit

Permalink
feat: adjust config
Browse files Browse the repository at this point in the history
  • Loading branch information
longfar-ncy committed Jun 24, 2024
1 parent ad053bf commit c28948a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ class PConfig {
AtomicString log_dir = "stdout"; // the log directory, differ from redis
AtomicString log_level = "warning";
AtomicString run_id;
std::atomic<size_t> databases = 16;
std::atomic<size_t> databases = 1;
std::atomic_uint32_t worker_threads_num = 2;
std::atomic_uint32_t slave_threads_num = 2;
std::atomic<size_t> db_instance_num = 3;
std::atomic<size_t> db_instance_num = 1;
std::atomic_bool use_raft = true;

std::atomic_uint32_t rocksdb_max_subcompactions = 0;
Expand Down

0 comments on commit c28948a

Please sign in to comment.