Updated frequency of Slack status updates

This commit is contained in:
Karthik Sankar
2025-03-11 23:07:31 +00:00
parent 2b85022248
commit e2f7d512db
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ class User < ApplicationRecord
profile: {
status_text:,
status_emoji:,
status_expiration: (Time.now + 30.minutes).to_i
status_expiration: (Time.now + 10.minutes).to_i
}
})
end

View File

@@ -5,7 +5,7 @@ Rails.application.configure do
config.good_job.cron = {
update_slack_status: {
cron: "*/15 * * * *",
cron: "*/5 * * * *",
class: "UserSlackStatusUpdateJob"
},
leaderboard_update: {