增加启动注释

This commit is contained in:
LingZhaoHui 2020-09-26 21:03:53 +08:00
parent 4b28f784a7
commit 29943ec366
2 changed files with 2 additions and 11 deletions

11
Jenkinsfile vendored
View File

@ -1,11 +0,0 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
sh 'bash build.sh'
}
}
}
}

View File

@ -2421,7 +2421,9 @@ void initServerConfig(void) {
* redis.conf using the rename-command directive. */
server.commands = dictCreate(&commandTableDictType,NULL);
server.orig_commands = dictCreate(&commandTableDictType,NULL);
// 初始化命令表
populateCommandTable();
// 缓存常用的命令
server.delCommand = lookupCommandByCString("del");
server.multiCommand = lookupCommandByCString("multi");
server.lpushCommand = lookupCommandByCString("lpush");