website icon indicating copy to clipboard operation
website copied to clipboard

searching "furry" 504s and loads forever

Open advaith1 opened this issue 4 years ago • 3 comments

image

advaith1 avatar Nov 11 '20 06:11 advaith1

tf

carolinaisslaying avatar Nov 15 '20 02:11 carolinaisslaying

im hurt deeply

IceeMC avatar Dec 24 '20 09:12 IceeMC

also happens with "anime" and probably other queries

advaith1 avatar Mar 13 '21 00:03 advaith1

So, the issue is that servers, aren't cached on startup, or on search. They are only cached on edit, submission, and autosync. It is why on the production site you can currently only find 1 page of server listings.

It took me a while to wrap my head around why results weren't showing up, and it seemed inconsistent depending on what selectors you chose. Bots, templates, and users, are cached. Servers are not, leading to a generally empty dataset that breaks the query and seems to cause an error.

I'll see what I can come up with as far as a solution goes and make a PR in connection to this issue!

TheAlienKnight avatar Mar 16 '23 16:03 TheAlienKnight

I went ahead and added this to the current open PR since it's a small fix/change, I referenced the full, actual cause here https://github.com/TheAlienKnight/website/pull/10

TheAlienKnight avatar Mar 16 '23 19:03 TheAlienKnight

@TheAlienKnight Is this resolved

carolinaisslaying avatar Feb 27 '24 10:02 carolinaisslaying

pretty sure this is resolved

carolinaisslaying avatar Mar 23 '24 05:03 carolinaisslaying