Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid making DB connection unless necessary #295

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

crynobone
Copy link
Contributor

Internally, DB::listen() is equivalent to calling app('db')->connection()->listen() which initiate a database connection and cause issue such as larastan/larastan#1588

- additional improvements to spatie#290

Internally, `DB::listen()` is equivalent to calling `app('db')->connection()->listen()` which initiate a database connection and cause issue such as larastan/larastan#1588

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@freekmurze freekmurze merged commit 2274653 into spatie:main Mar 23, 2023
@freekmurze
Copy link
Member

Thanks!

@crynobone crynobone deleted the patch-1 branch March 23, 2023 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants