Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Serialize dev startup #240

Merged
merged 1 commit into from
Feb 14, 2014
Merged

Serialize dev startup #240

merged 1 commit into from
Feb 14, 2014

Conversation

robyoung
Copy link
Contributor

Adds a lock directory that must be held before the virtualenv can be
created and dependencies installed. This prevents a concurrency bug
where if dependencies are installed for multiple virtualenvs at the same
time they can hang.

waiting=0
until mkdir $LOCK_DIR > /dev/null 2>&1; do
if [ $waiting -eq 0 ]; then
echo "waiting for startup lock"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is indentation 4 spaces or 2?

Adds a lock directory that must be held before the virtualenv can be
created and dependencies installed. This prevents a concurrency bug
where if dependencies are installed for multiple virtualenvs at the same
time they can hang.
nick-gravgaard added a commit that referenced this pull request Feb 14, 2014
@nick-gravgaard nick-gravgaard merged commit 12fb21b into master Feb 14, 2014
@nick-gravgaard nick-gravgaard deleted the serialize-dev-startup branch February 14, 2014 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants