Skip to content

Use more gentle way of stoping mining server #14

@LNow

Description

@LNow

Right now when we want to stop mining server we are sending SIGKILL to the process.

const { stdout, stderr } = child_process.exec(`kill -9 ${PID}`, { shell: true });

I think that instead of killing process "just like that" we should send SIGTERM signal and let process ends gracefully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions