arch-repo-manager/librepomgr/webclient
Martchus 7ade757c8d Avoid locking whole config when updating DBs
* Only lock the config for writing the reloading the config file
* Make sure all write operations to the database acquire an "update mutex"
  to ensure only one write operation happens at a time
* Do *not* acquire any additional locks when reading from a database as it
  should be safe to do so even when a write operation happens because
    * LMDB read and write transactions can happen at the same time
    * The package cache has its own mutex anyways
    * Write ops to the package cache try to lock the "update mutex" to
      prevent writing "old" data to the cache during updates
* Make "lastUpdate" atomic to avoid locking the config when accessing it
2022-03-05 18:55:52 +01:00
..
aur.cpp Avoid locking whole config when updating DBs 2022-03-05 18:55:52 +01:00
aur.h lmdb: Use lmdb to store packages and dependency indices 2022-01-18 21:50:53 +01:00
database.cpp Avoid locking whole config when updating DBs 2022-03-05 18:55:52 +01:00
database.h Fix varoius build action related problems 2022-02-22 22:49:40 +01:00
session.cpp Fix handling of head requests 2022-02-02 21:18:07 +01:00
session.h Fix handling of head requests 2022-02-02 21:18:07 +01:00