-
Notifications
You must be signed in to change notification settings - Fork 8
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
Seamail Pagination Hangs #239
Comments
I just encountered this same behavior working on #214 Totally new endpoint, request comes in and never responds |
This seems to be triggered by calling both
Then it works just fine. Compared to:
Which hangs infinitely as soon as start is not 0. WTF?! |
I think I had a breakthrough on this. Something with the
Works just fine |
Nope. Thanks to some ChatGPTing today I learned:
This syntax is used to perform asynchronous operations in parallel. The
This syntax is used when you want to explicitly wait for the asynchronous operation to complete before moving on to the next line of code. It's a more sequential way of handling asynchronous code, where the That's probably why we have the various |
If I paginate with a small-ish limit through seamail (
/api/v3/fez/joined?type=open&type=closed&limit=10
), the first page loads, But subsequent pages specified with a&start=X
hang. This can be replicated on the Beta.When I mashed reload and spam clicked, I started to see 500 errors related to connection pools.
Feels like a thread lock? Had to bounce the container in order to get any responses.
Fortunately the default page size of 50 is likely large enough that general users would not notice (would need to have 50+ seamail conversations).
The text was updated successfully, but these errors were encountered: