[Step 3] Update project snippets stat when snippet is deleted.
In the Snippets::DestroyService
, after the snippet has been successfully removed, we need to call ProjectCacheWorker.perform_async(snippet.project.id, [], [:snippets_size])
to update the snippet's size stored in the project statistics.
It's important that we only do this for project snippets.