From ceedd0678cbee9972070f4a5dd850753b1526b15 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sat, 6 Apr 2024 10:49:19 +0200 Subject: [PATCH] Sleep more in parsing notation sheets to avoid reaching the API limit Signed-off-by: Emmy D'Anello --- participation/management/commands/parse_notation_sheets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/participation/management/commands/parse_notation_sheets.py b/participation/management/commands/parse_notation_sheets.py index 0bc7822..9dcb209 100644 --- a/participation/management/commands/parse_notation_sheets.py +++ b/participation/management/commands/parse_notation_sheets.py @@ -41,7 +41,6 @@ class Command(BaseCommand): if options['verbosity'] >= 1: self.stdout.write(f"Parsing notation sheet for pool {pool.short_name} for {tournament}") pool.parse_spreadsheet() + sleep(3) # Three calls = 3s sleep tournament.parse_tweaks_spreadskeets() - - sleep(1)