1. 23 4月, 2015 5 次提交
  2. 22 4月, 2015 16 次提交
  3. 21 4月, 2015 16 次提交
  4. 20 4月, 2015 3 次提交
    • don't readd entire directories recursively · 861f30cc
      Jeromy 提交于
    • Remove daemon InitDone guard in interrupt handler · bfd12114
      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.
      Tor Arne Vestbø 提交于
    • Handle ipfs command interruption by cancelling the command context · cf6a268c
      Instead of assuming the command is the daemon command and closing
      the node, which resulted in bugs like #1053, we cancel the context
      and let the context children detect the cancellation and gracefully
      clean up after themselves.
      
      The shutdown logging has been moved into the daemon command, where
      it makes more sense, so that commands like ping will not print out
      the same output on cancellation.
      Tor Arne Vestbø 提交于