mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
do not bump posts when rebaking
This commit is contained in:
@ -308,7 +308,7 @@ describe CookedPostProcessor do
|
||||
Jobs.expects(:cancel_scheduled_job).with(:pull_hotlinked_images, post_id: post.id).once
|
||||
|
||||
delay = SiteSetting.ninja_edit_window + 1
|
||||
Jobs.expects(:enqueue_in).with(delay.seconds, :pull_hotlinked_images, post_id: post.id).once
|
||||
Jobs.expects(:enqueue_in).with(delay.seconds, :pull_hotlinked_images, post_id: post.id, bypass_bump: false).once
|
||||
|
||||
cpp.pull_hotlinked_images
|
||||
end
|
||||
|
Reference in New Issue
Block a user