30 seconds wait for screenshot (from 1 min)

This commit is contained in:
Kyle Drake 2016-09-20 21:00:53 +00:00
parent 6132875b6b
commit 1c98e591af
4 changed files with 4 additions and 4 deletions

View file

@ -1446,7 +1446,7 @@ class Site < Sequel::Model
purge_cache path
if pathname.extname.match HTML_REGEX
ScreenshotWorker.perform_in 1.minute, values[:username], relative_path
ScreenshotWorker.perform_in 30.seconds, values[:username], relative_path
elsif pathname.extname.match IMAGE_REGEX
ThumbnailWorker.perform_async values[:username], relative_path
end