Skip to content
Discussion options

You must be logged in to vote

This behaviour is happening because there are two insights middleware, and the cleanup of those triggers another search before the other widgets have been removed.

While this is indeed a bug, I'm not sure when you'd need this specific code in real life. I recommend you either put the insights option to false or (recommended) not use the extra manual InsightsMiddleware. If either of those things are done, then no extra queries get sent anymore in my testing.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Ali-hd
Comment options

@Haroenv
Comment options

Answer selected by Ali-hd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants