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

Is ruby-jwt thread-safe? #150

Closed
aarongray opened this issue May 7, 2016 · 2 comments
Closed

Is ruby-jwt thread-safe? #150

aarongray opened this issue May 7, 2016 · 2 comments

Comments

@aarongray
Copy link
Contributor

I'm moving from a threaded web server over to Puma, which is multi-threaded. I don't see in the readme if this gem is thread safe. I glanced through the code and I didn't see any no-no's jumping out at me, but wanted to ask here and see if you folks could give me a definitive answer.

Thanks for this helpful gem!

@excpt
Copy link
Member

excpt commented May 10, 2016

We don't have any kinds of tests to check if this library is thread safe.
Given the current code structure that is basicly just a collection of methods/functions that simply parse input and return output - using puma as a webserver should not give you any trouble.

@aarongray
Copy link
Contributor Author

Good deal, thanks!

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

2 participants