Skip to content

Commit 0923340

Browse files
committed
Add deprecated note
1 parent 444c5fa commit 0923340

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/dstack/_internal/server/background/scheduled_tasks/running_jobs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@
102102
JOB_DISCONNECTED_RETRY_TIMEOUT = timedelta(minutes=2)
103103

104104

105+
# NOTE: This scheduled task is going to be deprecated in favor of `JobRunningPipeline`.
106+
# If this logic changes before removal, keep `pipeline_tasks/jobs_running.py` in sync.
105107
async def process_running_jobs(batch_size: int = 1):
106108
tasks = []
107109
for _ in range(batch_size):

0 commit comments

Comments
 (0)