Skip to content
Snippets Groups Projects
Verified Commit a621a7d7 authored by Karel Koci's avatar Karel Koci :metal: Committed by Karel Koci
Browse files

compile_pkgs: use flock to not colide in git mirrors

This locks git mirror directory when we are updating mirrors. This
should solve race condition with multiple builds failing to update
mirrors and failing that way completely.

Only update is protected. The expectation is that initialization is
happenning only once and is protected by non-existence of directory. If
there is going to be problem with initialization as well then we can add
locking as well.
parent be49424d
1 merge request!113compile_pkgs: use flock to not colide in git mirrors
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment