mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: removed sleep function and updated import
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import * as fs from "node:fs/promises";
|
import * as fs from "node:fs/promises";
|
||||||
import { execAsync } from "../utils/process/execAsync";
|
import { execAsync, sleep } from "../utils/process/execAsync";
|
||||||
import { execAsyncRemote } from "../utils/process/execAsync";
|
import { execAsyncRemote } from "../utils/process/execAsync";
|
||||||
|
|
||||||
interface GPUInfo {
|
interface GPUInfo {
|
||||||
@@ -347,5 +347,3 @@ const verifySetup = async (nodeId: string, serverId?: string) => {
|
|||||||
|
|
||||||
return finalStatus;
|
return finalStatus;
|
||||||
};
|
};
|
||||||
|
|
||||||
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
||||||
|
|||||||
Reference in New Issue
Block a user