You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also tried with Mysql 8.2, the conclusion still the same
Description
When I try to test my API that has auth()->user() method called, it will do "search query" multiple times for some reason. The weird thing is the query is called more than 1000 times and it takes more than 10 second for the request to resolved, If I disable the telescope, the request only took sub 100ms.
See the image below for the snippet.
Steps To Reproduce
Install laravel/telescope
Configure telescope in local only (like what being told in the official documentation)
Try hit the API that has auth()->user() on it
The telescope will report that the request has more than 1000 API call
The text was updated successfully, but these errors were encountered:
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here?
Telescope Version
5.2.5
Laravel Version
11.32.0
PHP Version
8.3.13
Database Driver & Version
Postgres:16-alpine3.2 (dockerized)
Description
When I try to test my API that has
auth()->user()
method called, it will do "search query" multiple times for some reason. The weird thing is the query is called more than 1000 times and it takes more than 10 second for the request to resolved, If I disable the telescope, the request only took sub 100ms.See the image below for the snippet.
Steps To Reproduce
auth()->user()
on itThe text was updated successfully, but these errors were encountered: