new changes
This commit is contained in:
BIN
YakPanel-server/backend/app/api/__pycache__/auth.cpython-314.pyc
Normal file
BIN
YakPanel-server/backend/app/api/__pycache__/auth.cpython-314.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
YakPanel-server/backend/app/api/__pycache__/ftp.cpython-314.pyc
Normal file
BIN
YakPanel-server/backend/app/api/__pycache__/ftp.cpython-314.pyc
Normal file
Binary file not shown.
BIN
YakPanel-server/backend/app/api/__pycache__/logs.cpython-314.pyc
Normal file
BIN
YakPanel-server/backend/app/api/__pycache__/logs.cpython-314.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
YakPanel-server/backend/app/api/__pycache__/node.cpython-314.pyc
Normal file
BIN
YakPanel-server/backend/app/api/__pycache__/node.cpython-314.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
YakPanel-server/backend/app/api/__pycache__/site.cpython-314.pyc
Normal file
BIN
YakPanel-server/backend/app/api/__pycache__/site.cpython-314.pyc
Normal file
Binary file not shown.
BIN
YakPanel-server/backend/app/api/__pycache__/soft.cpython-314.pyc
Normal file
BIN
YakPanel-server/backend/app/api/__pycache__/soft.cpython-314.pyc
Normal file
Binary file not shown.
BIN
YakPanel-server/backend/app/api/__pycache__/ssl.cpython-314.pyc
Normal file
BIN
YakPanel-server/backend/app/api/__pycache__/ssl.cpython-314.pyc
Normal file
Binary file not shown.
Binary file not shown.
BIN
YakPanel-server/backend/app/api/__pycache__/user.cpython-314.pyc
Normal file
BIN
YakPanel-server/backend/app/api/__pycache__/user.cpython-314.pyc
Normal file
Binary file not shown.
@@ -13,7 +13,6 @@ from collections import defaultdict
|
||||
from typing import Annotated, Any, Literal, Optional, Union
|
||||
from urllib.parse import urlparse
|
||||
|
||||
import asyncssh
|
||||
from fastapi import APIRouter, HTTPException, Request, WebSocket
|
||||
from pydantic import BaseModel, Field, field_validator
|
||||
|
||||
@@ -198,6 +197,8 @@ async def create_job(body: CreateJobRequest, request: Request):
|
||||
auth_payload = body.auth
|
||||
|
||||
async def runner() -> None:
|
||||
import asyncssh
|
||||
|
||||
async with _jobs_lock:
|
||||
job = _jobs.get(job_id)
|
||||
if not job:
|
||||
|
||||
Reference in New Issue
Block a user