Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

expirationd.lua:

checking process_expired_tuple function was added.
  • Loading branch information...
commit d4120dd279fd8572924b331c11ab48ae23efb1da 1 parent 7f1df8f
@kostya-shulgin kostya-shulgin authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 expirationd.lua
View
4 expirationd.lua
@@ -83,7 +83,9 @@ local function worker_loop()
box.delete(task.space_no, key)
task.tuples_expired = task.tuples_expired + 1
-- process expired tuple
- task.process_expired_tuple(task.args, tuple)
+ if task.process_expired_tuple ~= nil then
+ task.process_expired_tuple(task.args, tuple)
+ end
end
-- check, can worker go to sleep
Please sign in to comment.
Something went wrong with that request. Please try again.