Skip to content

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

Closed
@pfk84

Description

@pfk84

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions