chore: Move Whatsapp template sync to cron (#4858)
syncing WhatsApp templates job is moved to a cron job for a better user experience. The Templates are synced at 15-minute intervals now.
This commit is contained in:
@@ -15,7 +15,6 @@ class Whatsapp::SendOnWhatsappService < Base::SendOnChannelService
|
||||
end
|
||||
|
||||
def send_template_message
|
||||
channel.sync_templates
|
||||
name, namespace, lang_code, processed_parameters = processable_channel_message_template
|
||||
|
||||
return if name.blank?
|
||||
|
||||
Reference in New Issue
Block a user