mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
REFACTOR: Move queue_jobs
out of SiteSetting
It is not a setting, and only relevant in specs. The new API is: ``` Jobs.run_later! # jobs will be thrown on the queue Jobs.run_immediately! # jobs will run right away, avoid the queue ```
This commit is contained in:
parent
f3c76ad482
commit
fa5a158683
40 changed files with 75 additions and 72 deletions
|
@ -3,7 +3,7 @@ require 'rails_helper'
|
|||
describe Post do
|
||||
|
||||
before do
|
||||
run_jobs_synchronously!
|
||||
Jobs.run_immediately!
|
||||
end
|
||||
|
||||
describe '#local_dates' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue