Patch: delay for Fetch task

This commit is contained in:
2022-04-14 22:58:04 +02:00
parent 64474dd44d
commit 55b197f64d
4 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import Logger from '@ioc:Adonis/Core/Logger'
import { getCurrentPlayingFromSpotify, getSpotifyAccount, resetCurrentSongCache } from 'App/Utils/SongUtils'
const MS = 1000
const MS = 1000 // 1 second
let taskId
async function SpotifyCurrentListeningWatcher(): Promise<void> {