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

num_recent parameter causes insane slowdown #3207

Open
zunjae opened this issue Jul 6, 2024 · 1 comment
Open

num_recent parameter causes insane slowdown #3207

zunjae opened this issue Jul 6, 2024 · 1 comment
Assignees
Milestone

Comments

@zunjae
Copy link

zunjae commented Jul 6, 2024

Tandoor Version

1.5.17

Setup

Docker / Docker-Compose

Reverse Proxy

No reverse proxy

Other

No response

Bug description

I've noticed that loading my home page that only contains 2 recipes takes 1.2 seconds. I would expect this API call to take ~20ms, maybe 100ms on a remote machine.

I have realised that loading the home page is significantly faster whenever I remove the num_recent parameter. I can do this on the page through the settings icon, but this only works on the device as its saved in the cookies.

Is there a way to completely remove this parameter on my instance of Tandoor?

Relevant logs

No response

@vabene1111 vabene1111 self-assigned this Jul 8, 2024
@vabene1111 vabene1111 added this to the 1.5.0 milestone Jul 8, 2024
@vabene1111
Copy link
Collaborator

interesting, I have this parameter always turned on and never noticed a big issue. I will look into it but the new version does things differently anyway so maybe it wont be an issue anyway.

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

No branches or pull requests

2 participants