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

Prevent running multiple instances #173

Open
exquo opened this issue Feb 7, 2022 Discussed in #171 · 0 comments
Open

Prevent running multiple instances #173

exquo opened this issue Feb 7, 2022 Discussed in #171 · 0 comments
Labels
enhancement New feature or request

Comments

@exquo
Copy link
Collaborator

exquo commented Feb 7, 2022

Discussed in #171

Originally posted by maximbaz February 6, 2022
Right now running multiple instances of scli will not work anyway (one of them will be locked on signal-cli), and by accidentally doing this I somehow managed to wipe a few days of history (opened second instance, realized mistake and closed but closed both).

We could perhaps just add some code to prevent history overwrite until we get a lock from signal-cli, but maybe there is more we could do, have some sort of our own lock, and quicker abort if it's a second instance?

@exquo exquo added the enhancement New feature or request label Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant