• Oswaldo Ferreira's avatar
    Schedule batches in bulks of 5 diffs · 80a7be87
    Oswaldo Ferreira authored
    Issuing 6M writings in a N+1 manner in Redis takes time, 3 hours to be precise. This commit makes it schedule 5 jobs at a time, what should make it schedule every job in approximately 40 minutes
    80a7be87
enqueue_delete_diff_files_workers_spec.rb 2.35 KB