Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: #447
This PR fixes a memory leak caused by the broadcast()
method: (#475). To see the full replication and details regarding the problem, check #325 and laravel/framework#33952.
For now, the only way to fix the memory leak was to remove StatisticsUpdated
and the WebSocketStatisticsEntriesController
and replace the event listening update in the dashboard with continuous polling to the /stats endpoint.
This changed the BeyondCode\LaravelWebSockets\Statistics\Drivers\StatisticsDriver
interface by adding a get()
method.
Changelog: