Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Socket IPC preventing process exit #224

Merged
merged 8 commits into from
May 1, 2023
Merged

Fix: Socket IPC preventing process exit #224

merged 8 commits into from
May 1, 2023

Conversation

appy-one
Copy link
Owner

@appy-one appy-one commented May 1, 2023

This fixes a process not being able to exit because the socket IPC was keeping references to stdout and stderr. It also adds some command level settings and documentation!

- use spawn instead of fork to start service, pass additional args
- do not bind to service stdout and stderr to allow process exit
- use db logger and level
- use Buffer.subarray instead of deprecated Buffer.slice
@appy-one appy-one added bug Something isn't working enhancement New feature or request labels May 1, 2023
@appy-one appy-one self-assigned this May 1, 2023
@appy-one appy-one changed the title Fix: Socket IPC prevent process exit Fix: Socket IPC preventing process exit May 1, 2023
@appy-one appy-one merged commit 9123efd into master May 1, 2023
@appy-one appy-one deleted the fix/socket-ipc branch May 1, 2023 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant