Closed joedixon closed 4 months ago
If you have telescope installed but, as documented, in production you don't load the TelescopeServiceProvider, then reverb fails on this line in script StartServer.php:
\Laravel\Telescope\Telescope::store($this->laravel->make(\Laravel\Telescope\Contracts\EntriesRepository::class));
because EntriesRepository is not bound. Am I missing something here?
@maartengithub this is a great catch, thank you. Updated here: https://github.com/laravel/reverb/pull/164
Thanx. I saw that it was pulled into main branch already. Now I can push my codebase to production:) Have a nice weekend.MaartenVerstuurd vanaf mijn iPadOp 19 apr. 2024 om 16:14 heeft Joe Dixon @.***> het volgende geschreven: @maartengithub this is a great catch, thank you. Updated here: #164
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
This PR resolves #148
Telescope works by stroing events after a response has been sent or a job processed. With Reverb, neither of these things happen so Telescope entries accumulate causing in memory consumption.
This PR attempts to address that by periodically storing and flushing the buffer of entries in a similar approach to Pulse.