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

Cryflare::Client is not re-entrant. #1

Open
BrucePerens opened this issue Feb 4, 2021 · 2 comments
Open

Cryflare::Client is not re-entrant. #1

BrucePerens opened this issue Feb 4, 2021 · 2 comments

Comments

@BrucePerens
Copy link

BrucePerens commented Feb 4, 2021

Use of the same Cryflare::Client with multiple purge_cache calls in different Fibers results in an IO error in SSL. I'll work out a way to serialize them for now.

@akadusei
Copy link
Contributor

akadusei commented Feb 5, 2021

Which version of Crystal are you on? Can you provide a simplified code sample (and stack trace)?

@BrucePerens
Copy link
Author

I'm going to 0.36 now (I was waiting for shield), but I think the problem is that I tried to use one client from multiple Fibers.

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