Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
remove data lock
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaswinkler committed Jan 27, 2021
1 parent 682cf33 commit 24a3324
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions docker/docker-entrypoint.sh
Expand Up @@ -57,14 +57,8 @@ migrations() {
wait_for_postgres
fi

(
# flock is in place to prevent multiple containers from doing migrations
# simultaneously. This also ensures that the db is ready when the command
# of the current container starts.
flock 200
echo "Apply database migrations..."
sudo -HEu paperless python3 manage.py migrate
) 200>/usr/src/paperless/data/migration_lock
echo "Apply database migrations..."
sudo -HEu paperless python3 manage.py migrate

}

Expand Down
2 changes: 1 addition & 1 deletion src-ui/src/environments/environment.prod.ts
Expand Up @@ -2,5 +2,5 @@ export const environment = {
production: true,
apiBaseUrl: "/api/",
appTitle: "Paperless-ng",
version: "1.0.0"
version: "1.0.0-no-data-locks"
};

0 comments on commit 24a3324

Please sign in to comment.