Skip to content

Commit

Permalink
fix(lua): the set method does not respect the dshm protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
sgandon authored Nov 10, 2021
1 parent 041fad6 commit f45b061
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/dshm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ function _M.set(self, key, value, exptime)

local req = "set " .. self.escape_key(key) .. " "
.. exptime .. " " .. strlen(value) .. "\r\n" .. value
.. "\r\n"

local bytes, err = sock:send(req)
if not bytes then
Expand Down

0 comments on commit f45b061

Please sign in to comment.