Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in scanner code, replace flock() with select_for_update #151

Open
mpdehaan opened this issue Sep 21, 2019 · 0 comments
Open

in scanner code, replace flock() with select_for_update #151

mpdehaan opened this issue Sep 21, 2019 · 0 comments

Comments

@mpdehaan
Copy link
Member

the scanner is already horizontally scalable, but you should be able to run more than one scanner per machine.

To fix this, instead of doing a flock(), we should have the scanner do a select_for_update when scanning each individual repo.

This way, multiple scanners can work off the same organization, whether on the same box or distributed, whereas, right now, the system tends to want one scanner per VM.

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

No branches or pull requests

1 participant