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

@@ -2,7 +2,7 @@ import Logger from '@ioc:Adonis/Core/Logger'
import { getCurrentPlayingFromCache } from 'App/Utils/SongUtils'
import Song from 'App/Models/Song'
const MS = 10000
const MS = 3000 // 3 seconds
let taskId
async function LogSpotifyHistory(): Promise<void> {