diff --git a/app/sweepers/profile_sweeper.rb b/app/sweepers/profile_sweeper.rb index bca6563..1d53bb9 100644 --- a/app/sweepers/profile_sweeper.rb +++ b/app/sweepers/profile_sweeper.rb @@ -4,7 +4,7 @@ class ProfileSweeper # < ActiveRecord::Observer include SweeperHelper def after_update(profile) - expire_caches(profile) + self.delay.expire_caches profile end def after_create(profile) -- libgit2 0.21.2