mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-27 18:10:27 +01:00
Change task delay
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import Logger from '@ioc:Adonis/Core/Logger'
|
import Logger from '@ioc:Adonis/Core/Logger'
|
||||||
import { getCurrentPlayingFromSpotify, getSpotifyAccount } from 'App/Utils/SongUtils'
|
import { getCurrentPlayingFromSpotify, getSpotifyAccount } from 'App/Utils/SongUtils'
|
||||||
|
|
||||||
const MS = 3000
|
const MS = 1000
|
||||||
let taskId
|
let taskId
|
||||||
|
|
||||||
async function SpotifyCurrentListeningWatcher(): Promise<void> {
|
async function SpotifyCurrentListeningWatcher(): Promise<void> {
|
||||||
|
|||||||
Reference in New Issue
Block a user