mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +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:
@ -31,7 +31,7 @@ RSpec.describe UploadRecovery do
|
||||
|
||||
before do
|
||||
SiteSetting.authorized_extensions = 'png|pdf'
|
||||
run_jobs_synchronously!
|
||||
Jobs.run_immediately!
|
||||
end
|
||||
|
||||
after do
|
||||
|
Reference in New Issue
Block a user