mirror of
https://github.com/neocities/neocities.git
synced 2025-08-06 01:24:56 +02:00
30 seconds wait for screenshot (from 1 min)
This commit is contained in:
parent
6132875b6b
commit
1c98e591af
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue