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

Prevent running the scheduler twice. #366

Merged
merged 1 commit into from
May 30, 2014
Merged

Conversation

pushmatrix
Copy link
Member

The rufus scheduler was being started twice ever since the refactoring of breaking out dashing into several modules (Found in Dashing 1.3.3). The cause of it is because the bin requires dashing, which in turn requires dashing/app which will create a new instance of the scheduler. Then, once thin boots up and loads the config.ru, it requires dashing again, creating yet another instance of the scheduler.

We could go ahead and only require dashing/app inside the config.ru, but that would mess up previous people's config files.

This is something to refactor in Dashing 2.0.

@pushmatrix pushmatrix changed the title Don't start the dashing app when you run the bin file. Prevent running the scheduler twice. May 30, 2014
pushmatrix added a commit that referenced this pull request May 30, 2014
Prevent running the scheduler twice.
@pushmatrix pushmatrix merged commit 9ee7f9e into master May 30, 2014
@lazyfrosch
Copy link

Nice fix Daniel, thank you!

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.

3 participants