NATION

PASSWORD

Member List Stuck at Page 41?

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Goraria
Diplomat
 
Posts: 718
Founded: Sep 17, 2020
Ex-Nation

Member List Stuck at Page 41?

Postby Goraria » Tue Jul 23, 2024 10:39 pm

I was trying to find a nation via the members list in the forums when it just suddenly stopped at Page 41. Why does this happen, and why does it only happen to the member list? I've tried passing page 41 on others and it seemed to work, so idk why the member list is having issues.

My assumption is there's too many stuff going on which made the list stop itself at 41 to prevent lag or crashes. Idk though, I'm not a computer scientist.
Last edited by Goraria on Tue Jul 23, 2024 10:49 pm, edited 2 times in total.
WIP Overview 8 value thing LeftValue RightValues very biased political compass
NS Backrooms Wayback Machine
NS stats shall be struck out null and void.
(\__/)
(='.'=)
(")_(") This is Bunny. Copy and paste bunny into your signature to help him destroy China.
A class 1.33 based on this index and a power comparator of 13.71 in this index.
I hate managing different accounts
You might find me in forum 7.
He/Him

Ninja’d NS Neighborhood
News: A man has fallen into a river in lego city start by building the rescue helicopter. I am of goods at spellings and of grammer. NSstats is cringe.

User avatar
The BlAAtschApen
Technical Moderator
 
Posts: 65976
Founded: Antiquity
New York Times Democracy

Postby The BlAAtschApen » Wed Jul 24, 2024 4:45 am

I can confirm this behaviour of the forums.

Page 40 has an offset of 1000. Page 41 an offset of 1025.

Another techie can hopefully figure out *why* it behaves like that (I am at work, so can't check the code nor any configuration settings).
The Blaatschapen should resign
Dark Theme users won't see this line.

I don't believe in the market economy, I'm a sheep, not a little piggy.

User avatar
Roavin
Director of Technology
 
Posts: 2038
Founded: Apr 07, 2016
Democratic Socialists

Postby Roavin » Wed Jul 24, 2024 6:01 am

That was a quick hack because we had the issue with a bunch of bots thinking it's a good idea to scrape the entire $&%^$# list, and the database system we use for the forum isn't good at moving from the end of something, so it always iterates from the front. If you're on page, say, 1000, and it always has to go through those 1000 pages, and a bot does this a stupid amount of times a second, one can easily imagine how slow the forum was during that time.
NationStates Administrator

Helpful Resources: One Stop Rules Shop | API documentation | NS Coders Discord


Return to Technical

Who is online

Users browsing this forum: No registered users

Advertisement

Remove ads