mirror of
https://github.com/kemko/paperclip.git
synced 2026-01-01 16:05:40 +03:00
Пытаемся увеличить время задержки загрузки
This commit is contained in:
@@ -298,7 +298,7 @@ module Paperclip
|
||||
instance.update_column(storage_field, false)
|
||||
end
|
||||
# кажется, без задержки картинки не успевают расползтись по nfs
|
||||
queued_jobs.push -> { DelayedUpload.upload_later(self, storage, 1.second) }
|
||||
queued_jobs.push -> { DelayedUpload.upload_later(self, storage, 10.seconds) }
|
||||
end
|
||||
end
|
||||
queued_for_write.clear
|
||||
|
||||
Reference in New Issue
Block a user