Check for IPFS on startup #1

Closed
opened 2019-07-02 15:36:41 +00:00 by raucao · 2 comments
Owner

I forgot to start IPFS before running the program, and it happily output 150 lines of "pinning contribution x" and then showed a warning about an unhandled rejected promise without exiting. So there's no way for a process manager to know that it's not working.

I forgot to start IPFS before running the program, and it happily output 150 lines of "pinning contribution x" and then showed a warning about an unhandled rejected promise without exiting. So there's no way for a process manager to know that it's not working.
Owner

fixed in: 4fb03c5677
please confirm that this works when running with a process manager.

fixed in: https://gitea.kosmos.org/kosmos/kredits-ipfs-pinner/commit/4fb03c56777dd088828652056f7103ffce181449 please confirm that this works when running with a process manager.
Author
Owner

A process manager doesn't do anything special. It exits now, so it works. Thanks.

A process manager doesn't do anything special. It exits now, so it works. Thanks.
raucao reopened this issue 2019-07-02 16:09:57 +00:00
bumi was assigned by raucao 2019-07-02 16:10:03 +00:00
Sign in to join this conversation.
No description provided.