5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2025-03-15 02:18:19 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-13 19:29:17 +00:00
commit 30e7618af7

View file

@ -4,7 +4,7 @@ class FixFetchJobs < ActiveRecord::Migration[6.1]
def up
QueJob.where("last_error_message like '%ActiveJob::DeserializationError%'").find_each do |job|
job.error_count = 0
job.run_at = time.now
job.run_at = Time.now
job.args.first['arguments'].first['_aj_ruby2_keywords'].delete('object')
job.args.first['arguments'].first['_aj_ruby2_keywords'] << 'object_id'