feat(task): with_statement_timeout helper for long running collection or process query
This commit is contained in:
parent
c0ae02f458
commit
d0f77d0aab
5 changed files with 82 additions and 0 deletions
|
@ -5,6 +5,8 @@ module <%= tasks_module %>
|
|||
class <%= class_name %>Task < MaintenanceTasks::Task
|
||||
# Documentation: cette tâche modifie les données pour…
|
||||
|
||||
include StatementsHelpersConcern
|
||||
|
||||
def collection
|
||||
# Collection to be iterated over
|
||||
# Must be Active Record Relation or Array
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue