Turn off slack command update job

This commit is contained in:
Max Wofford 2025-05-08 18:54:08 -04:00
parent 0b2de8ef6d
commit ea9fa94222
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
class SlackCommand::UpdateSlackChannelCacheJob < ApplicationJob
queue_as :latency_10s
queue_as :latency_5m
def perform
channels = SailorsLogNotificationPreference.where(enabled: true).distinct.pluck(:slack_channel_id)

View file

@ -33,10 +33,10 @@ Rails.application.configure do
cron: "*/2 * * * *",
class: "SailorsLogPollForChangesJob"
},
update_slack_channel_cache: {
cron: "0 11 * * *",
class: "SlackCommand::UpdateSlackChannelCacheJob"
},
# update_slack_channel_cache: {
# cron: "0 11 * * *",
# class: "SlackCommand::UpdateSlackChannelCacheJob"
# },
update_slack_neighborhood_channels: {
cron: "0 12 * * *",
class: "UpdateSlackNeighborhoodChannelsJob"