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

_let_all_through logic #5

Open
CurleySamuel opened this issue Aug 21, 2015 · 0 comments
Open

_let_all_through logic #5

CurleySamuel opened this issue Aug 21, 2015 · 0 comments

Comments

@CurleySamuel
Copy link
Owner

First we bucket exceptions and then we let only one of the exceptions actually perform the handling exception code to avoid redundancy.

In the current implementation using a semaphore I think there may be a race condition and it's possible we can handle the same exception multiple times. The code currently relies on the fact that the last person to request access to a semaphore will not be the next person to acquire it unless they're the only person.

@CurleySamuel CurleySamuel changed the title _let_one_through logic _let_all_through logic Aug 21, 2015
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

No branches or pull requests

1 participant