Commit Graph

28 Commits

Author SHA1 Message Date
Yoon
a0a9d818df Change custom command default mode to Write 2018-04-09 12:48:30 +09:00
Yoon
2d93868e82 Apply comments #27 and change default mode for custom command conf 2018-04-09 10:12:15 +09:00
Yoon
15d51cb931 Fix tab 2018-04-06 14:14:55 +09:00
Yoon
133e303188 Apply @fortrue's comments 2018-04-06 14:14:26 +09:00
Yoon
5d9cd99270 Add support custom commands
Custom commands are from redis module can be added up to 16(currently).
Configuration is like below.

CustomCommand {
  hello {      # hello is command, must be lower case.
               # this command has 2 or 3 parameters and first argument is key
    minArgs 2  # minimum arguments(including command itself)
    maxArgs 3  # maximum arguments(including command itself)
    mode Write,Read # this command is writable and readable
               # mode value can be Admin, Private, NoKey, MultiKey, SMultiKey, MultiKeyVal, KeyAt2, KeyAt3
  }
  newcommand { # default minArgs = 1, maxArgs = 1 and mode = Write
    mode Admin
  }
  ...
}
2018-04-05 16:17:47 +09:00
fortrue
ce210cdee3 1.modify default ServerTimeout and KeepAlive to 0
2.improve doc
2018-03-28 20:27:04 +08:00
fortrue
a14f11cec9 release 1.0.4 2018-03-26 15:16:44 +08:00
fortrue
0891036e8c 1.wait for response when connecting to redis
2.remove unused code
3.fix sentinel.conf typing
2018-03-26 14:59:20 +08:00
fortrue
ec36627f91 Issue #23
change signal SIGHUP action from abort process to ignore
log signal value when process aborted by signal
2018-03-16 12:28:07 +08:00
fortrue
86183a4a97 support redis server connection keepalive and timeout
fix Issue #21
2018-02-23 16:47:03 +08:00
fortrue
b9a468dc97 fix backtrace bug 2018-01-19 16:43:28 +08:00
fortrue
681f5e37d0 release 1.0.3,ready for CacheEasy 2018-01-04 20:51:08 +08:00
fortrue
3207be46ef 1.fix issue14, don't add invalid sentinel address
2.add default compile option -g
3.fix command config get BufSize output
4.ignore online status for ClusterServerPool server
2017-12-29 11:27:02 +08:00
fortrue
996e02fd4d fix bug when conf define SentinelServerPool but without Sentinels instances 2017-12-28 21:05:19 +08:00
fortrue
45661645ed 1.add more information for command info and config get
2.fix log file symbol link error
2017-12-26 14:27:09 +08:00
fortrue
bd9d2ed57e fix stats output bug for Servers 2017-11-26 16:01:44 +08:00
fortrue
dc1de3935c 1.support section for INFO command
2.fix authority bug
3.fix test base
2017-11-23 15:08:05 +08:00
fortrue
6da3706900 support QUIT command 2017-11-09 12:18:34 +08:00
fortrue
db2b856211 fix stats cpu format bug 2017-11-02 22:03:48 +08:00
Timur Kumakbayev
d1cae0638d changed app version to 1.0.2 as in release 2017-10-18 17:16:05 +06:00
fortrue
ac8bfd1e15 don't use redis-server password for redis-sentinel instances 2017-09-14 09:52:09 +08:00
fortrue
345ff2c20f supports inline command protocol for command:PING/ECHO/AUTH/SELECT 2017-09-08 11:13:54 +08:00
fortrue
1569b57bd7 fix server connection leak for list block command 2017-09-06 17:09:16 +08:00
fortrue
017ae6461b 1.fix parse error for multi-key command with single key
2.correct some commands property
3.add test cases
2017-09-03 19:53:04 +08:00
fortrue
aeedfae544 support redis4.0 command "cluster nodes" address parse 2017-09-02 12:32:19 +08:00
joyield
6ab54bfec9 adjust compiler options and update README 2017-07-30 15:10:46 +08:00
joyield
ecc63e5586 improve performance
fix scan for sentinel groups
2017-07-30 15:00:51 +08:00
joyield
801df5e2b8 release 1.0.0 2017-07-24 11:00:44 +08:00