Open Sjmarf opened 2 weeks ago
This only happens in a very specific edge case circumstance so isn't a critical issue. It takes ~20 seconds to perform the post/list request.
post/list
api/v3/post/list?type_=ModeratorView&limit=50&page=1
next_page
api/v3/post/list?type_=ModeratorView&limit=50&page_cursor=%s
%s
{ "posts": [] }
I can't reproduce this issue by using the page parameter so it's possibly related to the cursor system
page
Tested on lemmy.ml (0.19.6-beta.1) and sh.itjust.works (0.19.5)
0.19.6-beta.1
0.19.5
Could be really difficult to add indexes for that query. Would really be helpful if we had some more DB experts to help with these.
Requirements
Summary
This only happens in a very specific edge case circumstance so isn't a critical issue. It takes ~20 seconds to perform the
post/list
request.Steps to Reproduce
api/v3/post/list?type_=ModeratorView&limit=50&page=1
next_page
value from the response to clipboardapi/v3/post/list?type_=ModeratorView&limit=50&page_cursor=%s
. Replace%s
with the string you copied in the previous step.{ "posts": [] }
)Technical Details
I can't reproduce this issue by using the
page
parameter so it's possibly related to the cursor systemLemmy Instance
Tested on lemmy.ml (
0.19.6-beta.1
) and sh.itjust.works (0.19.5
)