Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
HustXrb authored and jobs committed Nov 16, 2016
1 parent 75717b1 commit 11f7789
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ In addition, `HA` cluster uses a distributed architecture design by incorporatin
* [cmake](https://cmake.org/download/)
* [leveldb](https://github.com/google/leveldb)
* [libcurl](https://curl.haxx.se/libcurl/)
* [libevent](http://libevent.org/)
* [libevent2](http://libevent.org/)
* [libevhtp](https://github.com/ellzey/libevhtp)
* [zlog](https://github.com/HardySimpson/zlog)

Expand Down
2 changes: 1 addition & 1 deletion README_ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* [cmake](https://cmake.org/download/)
* [leveldb](https://github.com/google/leveldb)
* [libcurl](https://curl.haxx.se/libcurl/)
* [libevent](http://libevent.org/)
* [libevent2](http://libevent.org/)
* [libevhtp](https://github.com/ellzey/libevhtp)
* [zlog](https://github.com/HardySimpson/zlog)

Expand Down
2 changes: 1 addition & 1 deletion hustdb/db/server/module/hustdb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ db.ttl.scan_interval = 30
db.ttl.scan_count = 1000

db.binlog.thread_count = 4
db.binlog.queue_capacity = 2000
db.binlog.queue_capacity = 4000

# UNIT Second
db.binlog.scan_interval = 20
Expand Down
2 changes: 1 addition & 1 deletion hustdb/db/server/module/hustdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ bool hustdb_t::init_server_config ( )
return false;
}

m_store_conf.db_binlog_queue_capacity = m_appini->ini_get_int ( m_ini, "store", "db.binlog.queue_capacity", 2000 );
m_store_conf.db_binlog_queue_capacity = m_appini->ini_get_int ( m_ini, "store", "db.binlog.queue_capacity", 4000 );
if ( m_store_conf.db_binlog_queue_capacity <= 0 )
{
LOG_ERROR ( "[hustdb][init_server_config]store db.binlog.queue_capacity invalid, binlog.queue_capacity: %d", m_store_conf.db_binlog_queue_capacity );
Expand Down
2 changes: 1 addition & 1 deletion hustdb/doc/doc/en/advanced/hustdb/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Deployment
db.ttl.scan_count = 1000 //DB, number of item each time ttl scan is executed.

db.binlog.thread_count = 4 //DB,number of worker threads for binlog
db.binlog.queue_capacity = 2000 //DB,binlog task queue capacity
db.binlog.queue_capacity = 4000 //DB,binlog task queue capacity

# UNIT Second
db.binlog.scan_interval = 20 //DB,scan interval for binlog, time synchronization binlog item
Expand Down
2 changes: 1 addition & 1 deletion hustdb/doc/doc/zh/advanced/hustdb/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
db.ttl.scan_count = 1000 //DB,每次ttl扫描的item数量

db.binlog.thread_count = 4 //DB,binlog的worker线程数
db.binlog.queue_capacity = 2000 //DB,binlog任务队列容量
db.binlog.queue_capacity = 4000 //DB,binlog任务队列容量

# UNIT Second
db.binlog.scan_interval = 20 //DB,binlog扫描间隔,定期同步binlog的item
Expand Down
2 changes: 1 addition & 1 deletion hustmq/doc/doc/en/advanced/hustmq/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Deployment
db.ttl.scan_count = 1000 //DB, number of item each time ttl scan is executed.

db.binlog.thread_count = 4 //DB,number of worker threads for binlog
db.binlog.queue_capacity = 2000 //DB,binlog task queue capacity
db.binlog.queue_capacity = 4000 //DB,binlog task queue capacity

# UNIT Second
db.binlog.scan_interval = 20 //DB,scan interval for binlog, time synchronization binlog item
Expand Down
2 changes: 1 addition & 1 deletion hustmq/doc/doc/zh/advanced/hustmq/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
db.ttl.scan_count = 1000 //DB,每次ttl扫描的item数量

db.binlog.thread_count = 4 //DB,binlog的worker线程数
db.binlog.queue_capacity = 2000 //DB,binlog任务队列容量
db.binlog.queue_capacity = 4000 //DB,binlog任务队列容量

# UNIT Second
db.binlog.scan_interval = 20 //DB,binlog扫描间隔,定期同步binlog的item
Expand Down

0 comments on commit 11f7789

Please sign in to comment.