Increase worker concurrency to 3
This commit is contained in:
		@@ -25,10 +25,10 @@ CELERY_BIN="$( which celery )"
 | 
			
		||||
# app arguments work in a non-backwards-compatible way with Celery 5.
 | 
			
		||||
case "$( cat /etc/debian_version )" in
 | 
			
		||||
    10.*)
 | 
			
		||||
        CELERY_ARGS="worker --app pvcapid.flaskapi.celery --concurrency 1 --hostname $(hostname -s) --queues $(hostname -s) --loglevel INFO"
 | 
			
		||||
        CELERY_ARGS="worker --app pvcapid.flaskapi.celery --concurrency 3 --hostname $(hostname -s) --queues $(hostname -s) --loglevel INFO"
 | 
			
		||||
    ;;
 | 
			
		||||
    *)
 | 
			
		||||
        CELERY_ARGS="--app pvcapid.flaskapi.celery worker --concurrency 1 --hostname $(hostname -s) --queues $(hostname -s) --loglevel INFO"
 | 
			
		||||
        CELERY_ARGS="--app pvcapid.flaskapi.celery worker --concurrency 3 --hostname $(hostname -s) --queues $(hostname -s) --loglevel INFO"
 | 
			
		||||
    ;;
 | 
			
		||||
esac
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user