euscanwww: Prevent not deterministic QuerySet order when slicing
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
04265dacff
commit
31e3dd66d8
@ -173,7 +173,7 @@ def update_portage(packages=None):
|
||||
@task
|
||||
def update_upstream():
|
||||
if settings.TASKS_UPSTREAM_GROUPS >= 1:
|
||||
packages = Package.objects.all()
|
||||
packages = Package.objects.all().order_by("pk")
|
||||
|
||||
scan_upstream_sub = group_chunks(scan_upstream, packages,
|
||||
settings.TASKS_UPSTREAM_GROUPS,
|
||||
|
Loading…
Reference in New Issue
Block a user