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

Use locking so multiple workers can run on the same machine #138

Open
Htbaa opened this issue Feb 18, 2013 · 0 comments
Open

Use locking so multiple workers can run on the same machine #138

Htbaa opened this issue Feb 18, 2013 · 0 comments
Labels
Milestone

Comments

@Htbaa
Copy link
Member

Htbaa commented Feb 18, 2013

Currently when running multiple workers a race condition can occur when both workers need access to the same repository. When working on a repository the worker should use some kind of locking mechanism that prevents other workers from accessing it. When locked the worker should just sleep and wait. Perhaps Gearman has some feature for denying a task so it can get queued again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant