ceramicnetwork / ceramicnetwork/js-ceramic

CLI should gracefully shut down (clear js-ipfs lock)

Open
#680 1 comment 2 reactions 0 assignees View on GitHub
bug dontclose p4
Dominant language
TypeScript
Stars
423
Forks
126
PR merge metrics
No merged PRs in 30d

Description

When ceramic-cli gets shut down, the js-ipfs repo lock isn't properly released. Users have to wait at least 10 seconds for that lock to get released before spinning the daemon back up. It would be great if ceramic-CLI could gracefully shut down to avoid this, which would pave the way for other graceful shutdown actions that might be useful for future use cases

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the ceramic-cli shutdown path and reproduce the daemon restart while the js-ipfs repository lock is still held. Trace how shutdown currently handles the process and verify that the lock is released before the daemon can be started again.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.