Skip to content
Snippets Groups Projects
  • Waylon Cude's avatar
    71278557
    Fix synctl and duplicate worker spawning (#8798) · 71278557
    Waylon Cude authored
    Synctl did not check if a worker thread was already running when using
    `synctl start` and would naively start a fresh copy. This would
    sometimes lead to cases where many duplicate copies of a single worker
    would run.
    
    This fix adds a pid check when starting worker threads and synctl will
    now refuse to start individual workers if they're already running.
    71278557
    History
    Fix synctl and duplicate worker spawning (#8798)
    Waylon Cude authored
    Synctl did not check if a worker thread was already running when using
    `synctl start` and would naively start a fresh copy. This would
    sometimes lead to cases where many duplicate copies of a single worker
    would run.
    
    This fix adds a pid check when starting worker threads and synctl will
    now refuse to start individual workers if they're already running.