• Tor Arne Vestbø's avatar
    Remove daemon InitDone guard in interrupt handler · bfd12114
    Tor Arne Vestbø authored
    Instead of just terminating right there and then, we cancel the
    context, and let the daemon exit cleanly. This make take a few
    seconds, as the node builder and its child processes do not
    care too much about the context state while building nodes,
    but this can be improved by injecting checks for ctx.Done()
    before time-consuming steps.
    bfd12114
request.go 6.61 KB