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

Serialization of 'Laravel\Octane\Tables\OpenSwooleTable' is not allowed #954

Open
MatusBoa opened this issue Sep 24, 2024 · 0 comments
Open

Comments

@MatusBoa
Copy link
Contributor

MatusBoa commented Sep 24, 2024

Octane Version

2.5.5

Laravel Version

11.23.5

PHP Version

8.3.10

What server type are you using?

Open Swoole

Server Version

22.1.2

Database Driver & Version

No response

Description

When I try to pass query builder to Octane::concurrently closure, serialization exception is thrown.

image

Steps To Reproduce

$query = DB::table('products')->limit(10);

Octane::concurrently([
    static function () use ($query) {
        return $query->get();
    },
]);
@MatusBoa MatusBoa changed the title Serialization of 'Laravel\\Octane\\Tables\\OpenSwooleTable' is not allowed Serialization of 'Laravel\Octane\Tables\OpenSwooleTable' is not allowed Sep 24, 2024
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