Move API job to every 10 minutes, increase concurrent jobs

This commit is contained in:
2010-11-08 17:55:30 +00:00
parent 8ef274c772
commit 7205e4cd97
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ CELERYBEAT_SCHEDULE = {
}, },
"eveapi-update": { "eveapi-update": {
"task": "eve_api.tasks.queue_apikey_updates", "task": "eve_api.tasks.queue_apikey_updates",
"schedule": timedelta(minutes=5), "schedule": timedelta(minutes=10),
}, },
} }

View File

@@ -23,5 +23,5 @@ sleep 1
cd $ROOT cd $ROOT
source ./env/bin/activate 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 ./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