Skip to content
Snippets Groups Projects
Verified Commit d4dbd0c1 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

fix(db-functions): acquire a lock around git clone and fetch operations


An initial git clone and especially a git fetch operation can occur
concurrently through multiple packagers and processes. Guard these git
operations with a fetch lock inside the actual git repository as well as
a special lock stored in the shared global lock directory before
starting an initial clone.

Fixes #49

Signed-off-by: Levente Polyak's avatarLevente Polyak <anthraxx@archlinux.org>
parent 5bb333af
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment