Modificação ordem cache scheduling notify
parent
cdd07140a9
commit
10d15930da
|
@ -26,7 +26,7 @@ export const StartAllWhatsAppsSessions = async (): Promise<void> => {
|
||||||
|
|
||||||
console.log('cacheSize: ', cacheLength)
|
console.log('cacheSize: ', cacheLength)
|
||||||
|
|
||||||
await loadSchedulesCache()
|
|
||||||
|
|
||||||
if (cacheLength == 0) {
|
if (cacheLength == 0) {
|
||||||
console.log('Loading from cache...')
|
console.log('Loading from cache...')
|
||||||
|
@ -35,6 +35,7 @@ export const StartAllWhatsAppsSessions = async (): Promise<void> => {
|
||||||
await loadTicketsCache()
|
await loadTicketsCache()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
await loadSchedulesCache()
|
||||||
// await loadWhatsappCache()
|
// await loadWhatsappCache()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue