diff --git a/app/models/communication/website/with_connected_objects.rb b/app/models/communication/website/with_connected_objects.rb index 1972448df0ccf4b3ea5f55f8a826dc31eb906af3..5a9c5ed786944f9139a8ac1386852f639b62e044 100644 --- a/app/models/communication/website/with_connected_objects.rb +++ b/app/models/communication/website/with_connected_objects.rb @@ -14,8 +14,9 @@ module Communication::Website::WithConnectedObjects menus.find_each(&:connect_dependencies) connect(about, self) if about.present? destroy_obsolete_connections - sync_with_git - destroy_obsolete_git_files + # In the same job + sync_with_git_without_delay + destroy_obsolete_git_files_without_delay end handle_asynchronously :rebuild_connections_and_git_files, queue: :low_priority