mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	Add flake8-logging linting (#5620)
* added flake8-logging to make logging more robust * fixed LOG005 warnings * fixed LOG008 warnings * fixed LOG011 warnings * fixed more LOG011 errors * added ignores for intentional logger.error calls * fixed even more LOG011 errors
This commit is contained in:
		| @@ -33,7 +33,7 @@ if workers is not None: | ||||
| if workers is None: | ||||
|     workers = multiprocessing.cpu_count() * 2 + 1 | ||||
|  | ||||
| logger.info(f"Starting gunicorn server with {workers} workers") | ||||
| logger.info("Starting gunicorn server with %s workers", workers) | ||||
|  | ||||
| max_requests = 1000 | ||||
| max_requests_jitter = 50 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user