chore(attachment): increase poll antivirus timeout and make it clear it's not blocker
This commit is contained in:
parent
169d701a03
commit
7719ce1865
10 changed files with 55 additions and 9 deletions
|
@ -43,4 +43,10 @@ class Attachment::MultipleComponent < ApplicationComponent
|
|||
helpers.auto_attach_url(champ)
|
||||
end
|
||||
alias poll_url auto_attach_url
|
||||
|
||||
def poll_context
|
||||
return :dossier if champ.present?
|
||||
|
||||
nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue