Skip to content
  • Matthieu Muffato's avatar
    Clearer flags in register_worker_death() · f69e4e27
    Matthieu Muffato authored
    "self-burial" had two meanings:
     - should we release the undone jobs ?
     - should we update the last_check_in field in the worker table ?
    The former can simply be found by checking whether the worker already has a
    role attached to it.
    The latter is only set when a worker registers its own death, and is not set
    by the GarbageCollector.
    f69e4e27