Mercurial > hg > orthanc-postgresql
view Resources/OldLockingMechanism.txt @ 151:a4a532a60838
sync, support linux standard base
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 03 Jan 2018 16:58:59 +0100 (2018-01-03) |
parents | 2d60b2cf6195 |
children |
line wrap: on
line source
LOCKING ======= This text file archives information about the locking mechanism in the initial release of the PostgreSQL plugins. THIS INFORMATION IS NOT VALID ANYMORE! >>>>>>>> The plugins implement a locking system to prevent other instances of Orthanc from using the same PostgreSQL database. If for some reason, Orthanc has not properly shutdown (for instance because of a power outage), you will have to manually unlock the database. This can be done by adding the `--unlock` flag at the command line: {{{ # ./Orthanc Configuration.json --unlock }}} If you dislike the locking mechanism and wish to disable it, set the "`Lock`" option to `false` in the configuration: <code language="json"> { "Name" : "MyOrthanc", [...] "PostgreSQL" : { "Lock" : false, "EnableIndex" : true, "EnableStorage" : true, "Host" : "localhost", "Port" : 5432, "Database" : "orthanc", "Username" : "orthanc", "Password" : "orthanc" }, "Plugins" : [ "/home/user/OrthancPostgreSQL/Build/libOrthancPostgreSQLIndex.so", "/home/user/OrthancPostgreSQL/Build/libOrthancPostgreSQLStorage.so" ] } </code>