Plush icon indicating copy to clipboard operation
Plush copied to clipboard

Unnecessary Requests?

Open davidbiller opened this issue 5 years ago • 2 comments

You ask for the pictures. Then you filter in the frontend if the user is in the flag array. You don't want to load 80.000 images at the same time. Then you probably work with the nextToken. What do you do now, if an array with 50 items is returned in the request, but all are blocked? Then the request was unnecessary. And you have to place another one and hope that in the next 50 there will be some that haven't been blocked yet.

How better to solve this?

davidbiller avatar May 27 '19 16:05 davidbiller

Thanks for the feedback. I really need to get back to this project and refactor the code to be more efficient.

youneshenniwrites avatar Sep 23 '19 22:09 youneshenniwrites

Thanks for the feedback. I really need to get back to this project and refactor the code to be more efficient.

Did you find a good way?

davidbiller avatar Jun 13 '20 19:06 davidbiller