Skip to content
Snippets Groups Projects
Commit 078ba106 authored by ocelot-inc's avatar ocelot-inc
Browse files

expirationd update due to changes in original

parent 7c644020
No related branches found
No related tags found
No related merge requests found
......@@ -2854,8 +2854,8 @@ time), process the tuple as an expired tuple.
-- put expired tuple in archive
local function put_tuple_to_archive(space_id, args, tuple)
-- delete expired tuple
box.space[space_id]:delete{tuple[0]}
local email = get_field(tuple, 1)
box.space[space_id]:delete{tuple[1]}
local email = get_field(tuple, 2)
if args.archive_space_id ~= nil and email ~= nil then
box.space[args.archive_space_id]:replace{email, os.time()}
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment