Every time there's a change in the stock of a product, the app triggers the sorting of a collection. If the app detects that a product is sold out, it sorts the collection in real-time. Usually in less than 15 minutes.
However, if there are multiple inventory changes in a matter of minutes, we delay the next sort to prevent processing it several times in a very short time. The table below shows how long it takes to start another sorting, depending on the size of the collection:
Collection size | Minimal re-sorting delay |
0-99 products | 15 minutes |
100-499 products | 30 minutes |
500-1999 products | 1 hour |
2000-9999 products | 3 hours |
10000-99999 products | 24 hours |
100000+ products | Never |