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

Ensure only one instance of core is running at the same time #173

Open
CheatCod opened this issue Jun 25, 2023 · 0 comments
Open

Ensure only one instance of core is running at the same time #173

CheatCod opened this issue Jun 25, 2023 · 0 comments
Assignees

Comments

@CheatCod
Copy link
Member

Add a lock file in a standard place and try to acquire it before starting, if we fail to acquire the lock, return an error.

Make sure the file is unlocked when the process exit

Ynng pushed a commit that referenced this issue Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants