• Michael Hanselmann's avatar
    Never remove job queue lock in node daemon · 1bc59f76
    Michael Hanselmann authored
    Otherwise, corruption could occur in some corner cases. E.g. when
    LeaveNode is running in a child and is in the process of removing
    queue files, the main process gets killed, started again and gets
    a request to update the queue. This is rather extreme corner case,
    but we should opt for safety.
    Reviewed-by: iustinp