From df25260d2b0d7ba0c4c9897b1c65747953aaef8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com> Date: Wed, 27 Oct 2021 19:00:43 +0200 Subject: [PATCH] no async but after save --- app/models/communication/website/imported/page.rb | 1 - app/models/communication/website/imported/post.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/models/communication/website/imported/page.rb b/app/models/communication/website/imported/page.rb index 0fd79f270..4da684aba 100644 --- a/app/models/communication/website/imported/page.rb +++ b/app/models/communication/website/imported/page.rb @@ -122,5 +122,4 @@ class Communication::Website::Imported::Page < ApplicationRecord end page.update(text: rich_text_with_attachments(page.text.to_s)) end - handle_asynchronously :sync_attachments, queue: 'default' end diff --git a/app/models/communication/website/imported/post.rb b/app/models/communication/website/imported/post.rb index 90b9cfcff..47026e59a 100644 --- a/app/models/communication/website/imported/post.rb +++ b/app/models/communication/website/imported/post.rb @@ -124,5 +124,4 @@ class Communication::Website::Imported::Post < ApplicationRecord end post.update(text: rich_text_with_attachments(post.text.to_s)) end - handle_asynchronously :sync_attachments, queue: 'default' end -- GitLab