Commit c844e06
refactoring: remove unneeded transform in "tube.delete"
All the queue drivers do "transform(2, 1, state.DONE)"
before returning the task from their "delete" method.
Also, changing the status of a task from abstract.lua
is a violation of encapsulation.
Patch changes:
* remove the unnecessary "transform" operation from "tube.delete"
* update description of a driver delete method in documentation
Co-authored-by: Leonid Vasiliev<lvasiliev@tarantool.org>1 parent e2b80a5 commit c844e06
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
| 634 | + | |
| 635 | + | |
635 | 636 | | |
636 | 637 | | |
637 | 638 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
| 226 | + | |
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
| |||
0 commit comments