Permalink
Browse files

expirationd.lua:

checking process_expired_tuple function was added.
  • Loading branch information...
1 parent 7f1df8f commit d4120dd279fd8572924b331c11ab48ae23efb1da Konstantin Shulgin committed Apr 27, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 expirationd.lua
View
@@ -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

0 comments on commit d4120dd

Please sign in to comment.