mirror of
https://github.com/freqtrade/frequi.git
synced 2024-09-20 01:21:08 +00:00
SetInterval may be overridden by nodejs types...
ensure to use window
This commit is contained in:
parent
9572b90a82
commit
f5d7c28ae8
|
@ -151,7 +151,7 @@ export const usePairlistConfigStore = defineStore(
|
|||
const { job_id: jobId } = await botStore.activeBot.evaluatePairlist(payload);
|
||||
console.log('jobId', jobId);
|
||||
|
||||
intervalId.value = setInterval(async () => {
|
||||
intervalId.value = window.setInterval(async () => {
|
||||
const res = await botStore.activeBot.getBackgroundJobStatus(jobId);
|
||||
if (!res.running) {
|
||||
clearInterval(intervalId.value);
|
||||
|
|
Loading…
Reference in New Issue
Block a user