diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 5d4c853..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,11 +0,0 @@ -pipeline { - agent any - - stages { - stage('Build') { - steps { - sh 'bash build.sh' - } - } - } -} diff --git a/src/server.c b/src/server.c index 7c92c92..d484950 100644 --- a/src/server.c +++ b/src/server.c @@ -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");