forked from OpenAtomFoundation/pika
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
470 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Pika port | ||
port : 9221 | ||
port : 8221 | ||
# Thread Number | ||
thread_num : 1 | ||
# Slave Thread Number | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
rm -rf /home/songzhao/develop/pika_test/redis/log | ||
rm -rf /home/songzhao/develop/pika_test/redis/db | ||
cp /home/songzhao/develop/pika/output/bin/pika /home/songzhao/develop/pika_test/redis/src/redis-server | ||
#cp /home/songzhao/develop/pika/output/conf/pika.conf /home/songzhao/develop/pika_test/redis/tests/assets/default.conf | ||
rm -rf /home/wuxiaofei-xy/worplace/pika/pika_test/redis/log | ||
rm -rf /home/wuxiaofei-xy/workplace/pika/pika_test/redis/db | ||
cp /home/wuxiaofei-xy/workplace/pika/output/bin/pika /home/wuxiaofei-xy/workplace/pika/pikatests/redis/src/redis-server | ||
cp /home/wuxiaofei-xy/workplace/pika/output/conf/pika.conf /home/wuxiaofei-xy/workplace/pika/pikatests/redis/tests/assets/default.conf | ||
|
||
tclsh tests/test_helper.tcl --clients 1 --single unit/type/$1 | ||
|
||
rm -rf /home/songzhao/develop/pika_test/redis/log | ||
rm -rf /home/songzhao/develop/pika_test/redis/db | ||
rm -rf /home/wuxiaofei-xy/workplace/pika/pikatests/redis/log | ||
rm -rf /home/wuxiaofei-xy/workplace/pika/pikatests/redis/db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,48 @@ | ||
# Pika port | ||
port : 9221 | ||
port : 8221 | ||
# Thread Number | ||
thread_num : 16 | ||
thread_num : 1 | ||
# Slave Thread Number | ||
slave_thread_num : 7 | ||
slave_thread_num : 1 | ||
# Pika log path | ||
log_path : ./log | ||
log_path : ./log/ | ||
# Pika glog level | ||
log_level : 0 | ||
log_level : 1 | ||
# Pika db path | ||
db_path : ./db/ | ||
# Pika write_buffer_size | ||
write_buffer_size : 268435456 | ||
# Pika timeout | ||
timeout : 60 | ||
# Requirepass | ||
requirepass : | ||
requirepass : | ||
# Dump Prefix | ||
dump_prefix : | ||
# daemonize [yes | no] | ||
#daemonize : yes | ||
# Dump Path | ||
dump_path : ./dump/ | ||
# pidfile Path | ||
pidfile : ./pika.pid | ||
# Max Connection | ||
maxconnection : 20000 | ||
# the per file size of sst to compact, defalut is 2M | ||
target_file_size_base : 20971520 | ||
# Expire_logs_days | ||
expire_logs_days : 1 | ||
expire_logs_days : 7 | ||
# Expire_logs_nums | ||
expire_logs_nums : 20 | ||
expire_logs_nums : 10 | ||
# Root_connection_num | ||
root_connection_num : 2 | ||
# Slowlog_log_slower_than | ||
slowlog_log_slower_than : 10000 | ||
# slave-read-only(yes/no, 1/0) | ||
slave_read_only : 0 | ||
|
||
################### | ||
## Critical Settings | ||
################### | ||
# binlog file size: default is 100M, limited in [1K, 2G] | ||
binlog_file_size : 104857600 | ||
# Compression | ||
compression : snappy |
Binary file not shown.
Oops, something went wrong.