NHMDenmark / Mass-Digitizer

Common repo for the DaSSCo team
Apache License 2.0
1 stars 0 forks source link

Only one instance of app running at any time #353

Open PipBrewer opened 1 year ago

PipBrewer commented 1 year ago

For investigation: Is there a problem with multiple versions of the app running at the same time? What happens in the database? Ideally complete and fully test by 1st Sept

jlegind commented 1 year ago

This seems like a decent solution: https://stackoverflow.com/questions/380870/make-sure-only-a-single-instance-of-a-program-is-running If we use the tendo package solution then it would fit nicely since the DaSSCo.py module controls execution.