Skip to content

Commit

Permalink
No locks required now
Browse files Browse the repository at this point in the history
  • Loading branch information
Carbrex committed Jun 28, 2024
1 parent 02490a9 commit 60959ec
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lila-docker
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,6 @@ add_services() {
setup_database
}

acquire_setup_lock() {
lockfile=./setup.lock
if [ -f $lockfile ]; then
echo "Waiting for other setup to finish..."
while [ -f $lockfile ]; do
sleep 1
done
fi

touch "$lockfile"
}

release_setup_lock() {
lockfile=./setup.lock
rm "$lockfile"
echo "Released the setup lock"
}

fast_setup() {
if is_gitpod_prebuild; then
echo "Running in Gitpod prebuilds"
Expand Down

0 comments on commit 60959ec

Please sign in to comment.