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

2.0.0-beta.8

Pre-release
Pre-release
Compare
Choose a tag to compare
@rennokki rennokki released this 21 Aug 12:36
· 335 commits to 2.x since this release
a08eee6

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:

  • Using tap() for a missing connection (0902d43)
  • Fixed typo (da7fe0c)
  • Added env variables in the config for PubSub replication (#477)