You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class ResetUserCacheJob < ApplicationJob
- queue_as :cache
-
- def perform(user)
- return if user.nil?
- Cache::UserFollowCountService.new(user).reset
- Cache::UserIssueCountService.new(user).reset
- Cache::UserProjectCountService.new(user).reset
- Cache::UserProjectForkCountService.new(user).reset
- Cache::UserProjectLanguagesCountService.new(user).reset
- Cache::UserProjectPraisesCountService.new(user).reset
- Cache::UserProjectWatchersCountService.new(user).reset
- Cache::UserPullrequestCountService.new(user).reset
- end
- end
|