Skip to content

Commit 574fa98

Browse files
committed
修正logpath默认路径
1 parent 14e7166 commit 574fa98

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

doc/release notes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
GoRedis release notes
22
=====================
33

4+
**GoRedis 1.0.70** @2014.4.16
5+
6+
* [Feature] 优化LRANGE性能,从多次RAW_GET改为单次Enum
7+
* [Coding] 简化启动函数代码
8+
* [Fix] 恢复logpath默认路径为/data
9+
410
**SlaveOf 1.0.4** @2014.4.11
511

612
* [Feature] 支持配置dbpath
@@ -11,6 +17,7 @@ GoRedis release notes
1117

1218

1319
**GoRedis 1.0.69** @2014.4.10
20+
1421
* [Fix] 修正PrefixEnumerate时全部遍历没有quit
1522
* [ADD] 启动参数新增logpath、datapath用于自定义数据和Log路径
1623

main/goredis-server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ func main() {
2727
host := flag.String("h", "0.0.0.0", "server host")
2828
port := flag.Int("p", 1602, "server port")
2929
slaveof := flag.String("slaveof", "", "replication")
30-
procs := flag.Int("procs", 8, "GOMAXPROCS")
30+
procs := flag.Int("procs", 8, "GOMAXPROCS, CPU")
3131
repair := flag.Bool("repair", false, "repair rocksdb")
3232
dbpath := flag.String("dbpath", "/data/", "rocksdb path, recommend use SSD")
33-
logpath := flag.String("logpath", "/home/logs/", "all logs, include synclog,aof")
33+
logpath := flag.String("logpath", "/data/", "all logs, include synclog,aof")
3434
flag.Parse()
3535

3636
if *version {

0 commit comments

Comments
 (0)