mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Move API job to every 10 minutes, increase concurrent jobs
This commit is contained in:
@@ -168,7 +168,7 @@ CELERYBEAT_SCHEDULE = {
|
||||
},
|
||||
"eveapi-update": {
|
||||
"task": "eve_api.tasks.queue_apikey_updates",
|
||||
"schedule": timedelta(minutes=5),
|
||||
"schedule": timedelta(minutes=10),
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
2
start.sh
2
start.sh
@@ -23,5 +23,5 @@ sleep 1
|
||||
cd $ROOT
|
||||
source ./env/bin/activate
|
||||
|
||||
./manage.py celeryd -B -E -l INFO --pidfile $CELERYD_PID_FILE > $ROOT/logs/celeryd.log 2>&1 &
|
||||
./manage.py celeryd -B -E -c 5 -l INFO --pidfile $CELERYD_PID_FILE > $ROOT/logs/celeryd.log 2>&1 &
|
||||
./manage.py runfcgi daemonize=true pidfile=$AUTH_PID_FILE host=127.0.0.1 port=9981 errlog=$ROOT/logs/stderr.log outlog=$ROOT/logs/stdout.log
|
||||
|
||||
Reference in New Issue
Block a user