mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
* Use Redis for ActiveJob and ActionCable * Fix alwaysApply setting * Update queue names and weights * Tweak weights * Update job queues * Update docker setup guide * Remove deprecated upgrade columns from users table * Refactor Redis configuration for Sidekiq and caching in production environment * Add Sidekiq Sentry monitoring * queue naming fix * Clean up schema
9 lines
149 B
Ruby
9 lines
149 B
Ruby
class SyncJob < ApplicationJob
|
|
queue_as :high_priority
|
|
|
|
def perform(sync)
|
|
sleep 1 # simulate work for faster jobs
|
|
sync.perform
|
|
end
|
|
end
|