openfoodfacts / smooth-app

The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart

Home Page:https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there away to force processing of the backlog?

teolemon opened this issue · comments

Problem

Screenshot_20240609-090515.png

Screenshot_20240609-090635.png

Screenshot_20240609-090627.png

@teolemon This explains your screenshots:

  • each time we upload an image, we refresh the product locally 10 minutes later
  • we process one task at a time

Which one would you like to change?

@monsieurtanuki Those are from yesterday (circa 5PM). I expected the tasks to have processed by now.

Down to 104, despite new
Operations, so something is happening

Screenshot_20240609-132552.png

I cancelled this one, hoping for something to unblock

Could be an issue with upload - recent changes in background tasks might have an impact.
I'll have a look tomorrow.

@teolemon First quick test: I've just managed to upload a product image and to crop another product image in TEST env with the latest code, so it doesn't seem to be a problem with the latest background code change.
Could it be that you send bigger pictures?

@monsieurtanuki Those are from yesterday (circa 5PM). I expected the tasks to have processed by now.

Btw here the concept of "background tasks" may not be what you mean.
In this case it's just async methods that we call only when the user uses the app.

@teolemon Still problematic?