Skip to content

Make assets watchers run as singletons - #171

Merged
cpennington merged 4 commits into
masterfrom
cale/singleton-watchers
Jun 20, 2013
Merged

Make assets watchers run as singletons#171
cpennington merged 4 commits into
masterfrom
cale/singleton-watchers

Conversation

@cpennington

Copy link
Copy Markdown
Contributor

Previously, multiple copies of the watchers started from the different
shells would run simultaneously, which left the possiblity of zombie
watchers, increased resource consumption, and incorrect results. This
fixes that problem by only starting a watcher if that same command isn't
already in the process list.

Fixes LMS-499

@chrisndodge @cahrens: Can you guys review and test this? It should allow you to run lms and cms together more stably (although there are still other issues that may cause problems).

Depends on #185

@cahrens

cahrens commented Jun 17, 2013

Copy link
Copy Markdown

@cpennington I was out this morning (and Friday afternoon). I may not be able to get to this PR until tomorrow, as I need to fix a critical bug before tomorrow's release. Sorry about the delay.

@marcotuts

Copy link
Copy Markdown
Contributor

@cpennington - is the the branch for me to test the SASS watcher improvements?

@cpennington

Copy link
Copy Markdown
Contributor Author

Actually, use cale/stabilize-dev-env (which has this, and a few other fixes
as well).

-Cale

On Mon, Jun 17, 2013 at 2:52 PM, marcotuts notifications@github.com wrote:

@cpennington https://github.com/cpennington - is the the branch for me
to test the SASS watcher improvements?


Reply to this email directly or view it on GitHubhttps://github.com/edx/pull/171#issuecomment-19566164
.

Rake by default imports all .rake files in the rakelib dir, so we can
use that rather than doing our own import loop.
`rake install_prereqs` requires a minimal level of ruby and rake already
installed. If it doesn't exist, then print out a helpful message
indicating next steps.
The preprocess task requires system and env arguments in order to
correctly load up the django environment to preprocess sass files to
inject themes.

In order for that task to recieve the arguments, all tasks that depend
on it also have to accept that same set of arguments.

This will all go away once the next evolution of themes arrives, which
will remove the preprocessing needed to inject theme names.
Previously, multiple copies of the watchers started from the different
shells would run simultaneously, which left the possiblity of zombie
watchers, increased resource consumption, and incorrect results. This
fixes that problem by only starting a watcher if that same command isn't
already in the process list.

Fixes LMS-499
@cpennington
cpennington merged commit 64912a7 into master Jun 20, 2013
@cpennington
cpennington deleted the cale/singleton-watchers branch June 20, 2013 14:11
chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
Temporary fix to allow pages that inherited the marketing template to display
aboudreault pushed a commit to aboudreault/edx-platform that referenced this pull request Aug 14, 2014
…lters-to-users-api

ziafazal/api-add-filters-to-users-api
jbau pushed a commit that referenced this pull request Jan 21, 2015
from Stanford-Online:jrbl/lpl_ungenerated_certs_flag
into Stanford-Online:master
CrewS pushed a commit to CrewS/edx-platform-1 that referenced this pull request Dec 28, 2018
alanoe pushed a commit to alanoe/edx-platform that referenced this pull request Mar 28, 2020
…tion (openedx#171)

Add a management command to create or update site configuration
alanoe pushed a commit to alanoe/edx-platform that referenced this pull request Mar 28, 2020
rediris pushed a commit to gymnasium/edx-platform that referenced this pull request Feb 25, 2021
…x/cms-media-root

specify media root in CMS and allow http scheme in aws_appsembler by env token
macdiesel added a commit to macdiesel/edx-platform that referenced this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants