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

Prevent locks from becoming mutually exclusive #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IronSinew
Copy link

Through some profiling under a fair amount of load, we found that on occasion the sidsLock would not release and cause channelsLock not not release as well since both are deferred. After offloading it to another goroutine, the issue subsided under load.

Through some profiling under a fair amount of load, we found that on occasion the sidsLock would not release and cause channelsLock not not release as well since both are deferred. After offloading it to another goroutine, the issue subsided under load.
@jeanlucmongrain
Copy link

@graarh is this project abandoned? because this PR seem important to merge

@suyashkumar
Copy link

Agreed with @bclermont

@jeanlucmongrain
Copy link

@IronSinew this guy and/or this repository is dead
can you please create your pull request here: https://github.com/gsocket-io/golang-socketio ?
I will maintains this repo in this other generic organization

once it's merged I will rewrite imports

@suyashkumar
Copy link

@bclermont thanks for doing that, I opened a pull request on @IronSinew's behalf here: https://github.com/gsocket-io/golang-socketio/pull/1 which still retains @IronSinew's commit and git attribution.

@jeanlucmongrain
Copy link

merged

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