mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +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:
@ -730,7 +730,7 @@ describe PostsController do
|
||||
end
|
||||
|
||||
it 'allows to create posts in import_mode' do
|
||||
run_jobs_synchronously!
|
||||
Jobs.run_immediately!
|
||||
NotificationEmailer.enable
|
||||
post_1 = Fabricate(:post)
|
||||
user = Fabricate(:user)
|
||||
|
Reference in New Issue
Block a user