Skip to content
Snippets Groups Projects
Commit 743a5d65 authored by pabois's avatar pabois
Browse files

manage clean_website asynchronously

parent f37ad288
No related branches found
No related tags found
No related merge requests found
...@@ -69,4 +69,5 @@ module AsIndirectObject ...@@ -69,4 +69,5 @@ module AsIndirectObject
website.sync_indirect_object_with_git self website.sync_indirect_object_with_git self
end end
end end
end end
\ No newline at end of file
...@@ -117,6 +117,7 @@ module WithDependencies ...@@ -117,6 +117,7 @@ module WithDependencies
clean_websites(websites_to_clean) clean_websites(websites_to_clean)
end end
end end
handle_asynchronously :clean_websites_if_necessary, queue: :default
def clean_websites(websites) def clean_websites(websites)
# Les objets directs et les objets indirects (et les websites) répondent ! # Les objets directs et les objets indirects (et les websites) répondent !
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment