Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Server slowness caused by statistics that is running even I set to false #176

@sayhicoelho

Description

@sayhicoelho

Hi. Thank you for making our life easier! This lib helped me a lot!

I've tried to change the value of 'enable_statistics' to false to avoid server making extra load when sending messages through the WebSocket, but without success.

The config/broadcasting.php apps section:

'apps' => [
    [
        'id' => env('PUSHER_APP_ID'),
        'name' => env('APP_NAME'),
        'key' => env('PUSHER_APP_KEY'),
        'secret' => env('PUSHER_APP_SECRET'),
        'enable_client_messages' => true,
        'enable_statistics' => false,
    ],
],

image

As you can see, the laravel-websockets route still working. I think it also works when sending events through the server and it's causing the slowness.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions