mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Updated frequency of Slack status updates
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -5,7 +5,7 @@ Rails.application.configure do
|
||||
|
||||
config.good_job.cron = {
|
||||
update_slack_status: {
|
||||
cron: "*/15 * * * *",
|
||||
cron: "*/5 * * * *",
|
||||
class: "UserSlackStatusUpdateJob"
|
||||
},
|
||||
leaderboard_update: {
|
||||
|
||||
Reference in New Issue
Block a user