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:
parent
2492581bde
commit
3eef4aa016
@ -1,5 +1,5 @@
|
||||
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";
|
||||
|
||||
interface GPUInfo {
|
||||
@ -347,5 +347,3 @@ const verifySetup = async (nodeId: string, serverId?: string) => {
|
||||
|
||||
return finalStatus;
|
||||
};
|
||||
|
||||
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
|
||||
|
Loading…
Reference in New Issue
Block a user