Skip to content

Hot-reload LAN server task configuration #68

Description

@Kh1ng

Problem

LAN-mode task definitions from the server configuration are loaded only at daemon startup. Updating the configuration while another job is active requires either interrupting that job or waiting to restart the daemon before a new task can be submitted.

The configuration inspection endpoint also continues to show the startup snapshot after the file changes.

Proposed behavior

Add an authenticated reload operation, or detect and atomically reload a valid changed configuration before job submission. Keep the last valid configuration if parsing or validation fails.

A reload must not change definitions already captured by pending or running jobs. New submissions should record the new task-definition hash.

Benefit

Managing agents can add bounded tasks without daemon downtime. Long CPU or GPU jobs continue safely while new work enters the queue. This improves utilization on shared machines and avoids SSH-based service restarts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions