Commit ff72c84a798b1a86471d78edd193264ab1d5b63f

Authored by zhouhaihai
2 parents cbaf5746 f58b315e

Merge branch 'develop' into tr/publish

Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
src/actions/RoleAction.lua
... ... @@ -308,6 +308,13 @@ function _M.createRpc(agent, data)
308 308 SendPacket(actionCodes.Role_createRpc, MsgPack.pack(response))
309 309 return true
310 310 end
  311 + local stopcreate = tonumber(redisproxy:hget("autoincrement_set", "stopcreate"))
  312 + if stopcreate and stopcreate > 0 then
  313 + response.result = "STOP_CREATE"
  314 + SendPacket(actionCodes.Role_createRpc, MsgPack.pack(response))
  315 + return true
  316 + end
  317 +
311 318  
312 319 local roleId = getNextRoleId()
313 320 if not roleId then
... ...