Compare commits
No commits in common. "491d8c4629822401a6b7347eb6c2ba4e50a2e8f0" and "65fc082b1b70a73822cfc2fd984417f56a94ff08" have entirely different histories.
491d8c4629
...
65fc082b1b
5 changed files with 6 additions and 16 deletions
|
|
@ -7,16 +7,14 @@ Type=simple
|
|||
Restart=always
|
||||
User=pandora
|
||||
Group=pandora
|
||||
EnvironmentFile=/srv/pandora/pandora/encoding.conf
|
||||
PIDFile=/run/pandora/encoding.pid
|
||||
WorkingDirectory=/srv/pandora/pandora
|
||||
ExecStart=/srv/pandora/bin/celery \
|
||||
-A app worker \
|
||||
-Q encoding -n pandora-encoding \
|
||||
--pidfile /run/pandora/encoding.pid \
|
||||
-c $CONCURRENCY \
|
||||
--maxtasksperchild $MAX_TASKS_PER_CHILD \
|
||||
-l $LOGLEVEL
|
||||
--maxtasksperchild 500 \
|
||||
-l INFO
|
||||
ExecReload=/bin/kill -TERM $MAINPID
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -7,16 +7,14 @@ Type=simple
|
|||
Restart=always
|
||||
User=pandora
|
||||
Group=pandora
|
||||
EnvironmentFile=/srv/pandora/pandora/tasks.conf
|
||||
PIDFile=/run/pandora/tasks.pid
|
||||
WorkingDirectory=/srv/pandora/pandora
|
||||
ExecStart=/srv/pandora/bin/celery \
|
||||
-A app worker \
|
||||
-Q default,celery -n pandora-default \
|
||||
--pidfile /run/pandora/tasks.pid \
|
||||
-c $CONCURRENCY \
|
||||
--maxtasksperchild $MAX_TASKS_PER_CHILD \
|
||||
-l $LOGLEVEL
|
||||
--maxtasksperchild 1000 \
|
||||
-l INFO
|
||||
ExecReload=/bin/kill -TERM $MAINPID
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
LOGLEVEL=info
|
||||
MAX_TASKS_PER_CHILD=500
|
||||
CONCURRENCY=1
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
LOGLEVEL=info
|
||||
MAX_TASKS_PER_CHILD=1000
|
||||
CONCURRENCY=2
|
||||
Loading…
Add table
Add a link
Reference in a new issue