Skip to content

Commit c28d038

Browse files
author
Алексей Зорькин
committed
utubettl-on-task-change: review
1 parent a228065 commit c28d038

File tree

2 files changed

+86
-3
lines changed

2 files changed

+86
-3
lines changed

.idea/workspace.xml

Lines changed: 83 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

queue/abstract/driver/utubettl.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ local function validate_space(space)
3636
for _, index in pairs(indexes) do
3737
if space.index[index] == nil then
3838
error(string.format('space "%s" does not have "%s" index',
39-
space.name, index))
39+
space.name, index))
4040
end
4141
end
4242
end
@@ -670,8 +670,8 @@ function method.bury(self, id)
670670

671671
local status = task[i_status]
672672
task = self.space:update(id, {
673-
{ '=', i_status, state.BURIED },
674-
{ '=', i_next_event, task[i_created] + task[i_ttl] }
673+
{ '=', i_status, state.BURIED },
674+
{ '=', i_next_event, task[i_created] + task[i_ttl] }
675675
})
676676
if self.ready_space_mode then
677677
if status == state.READY then

0 commit comments

Comments
 (0)