# frozen_string_literal: truemoduleUsersclassCreateStatisticsWorker# rubocop:disable Scalability/IdempotentWorkerincludeApplicationWorker# rubocop:disable Scalability/CronWorkerContext# This worker does not perform work scoped to a contextincludeCronjobQueue# rubocop:enable Scalability/CronWorkerContextfeature_category:usersdefperformUsersStatistics.create_current_stats!rescueActiveRecord::RecordInvalid=>exceptionGitlab::ErrorTracking.track_exception(exception)endendend