packagist beyondcode/laravel-websockets 2.0.0-beta.8

latest releases: dev-master, dev-analysis-Q3OmWZ, 1.x-dev...
4 years ago

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)

Don't miss a new laravel-websockets release

NewReleases is sending notifications on new releases.