mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 08:22:10 +01:00 
			
		
		
		
	Sleep more in parsing notation sheets to avoid reaching the API limit
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user