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

FiberError: Cannot Resume a Fiber That Is Not Suspended with reactphp-redis During High Concurrency #159

Open
pfk84 opened this issue Sep 17, 2024 · 1 comment

Comments

@pfk84
Copy link

pfk84 commented Sep 17, 2024

I’m not sure if this issue is specifically related to this library or ReactPHP, but currently, it only occurs with reactphp-redis.

When I run something like:

$counter = await($this->redis->eval(self::LUA_SCRIPT, 1, $uri, $period));

During periods of high concurrency, I encounter the following error:

Unhandled promise rejection with FiberError: Cannot resume a fiber that is not suspended in /app/vendor/react/async/src/SimpleFiber.php:28

Do you have any insights into why this is happening or what I could do to resolve it? Interestingly, when I work with the promises directly, everything functions correctly.

@pfk84
Copy link
Author

pfk84 commented Oct 18, 2024

No idea? :( Pretty sure it's due to the eval... Other commands just work fine.

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