On revient à 10 par page, sinon c'est trop lent

This commit is contained in:
Jean-Marie Favreau 2024-10-06 14:27:26 +02:00
parent 2d25ccbb6a
commit ed48c1fef3

View File

@ -1162,7 +1162,7 @@ def recurrent_imports(request, status=None):
events_selected = events.filter(last_run_status=status) events_selected = events.filter(last_run_status=status)
events_selected = events_selected.order_by("-pk") events_selected = events_selected.order_by("-pk")
paginator = Paginator(events_selected, 50) paginator = Paginator(events_selected, 10)
page = request.GET.get("page") page = request.GET.get("page")
nb_failed = (events nb_failed = (events