Roberto Rosario
55e9b2263c
Celery: Update Celery to version 4.1.1
...
Upgrade Celery version used from 3.1.26 to 4.1.1. The following
settings have been renamed: CELERY_ALWAYS_EAGER to
CELERY_TASK_ALWAYS_EAGER, BROKER_URL to CELERY_BROKER_URL.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-08 22:49:15 -04:00
Roberto Rosario
cfe1934b9b
Appearance: Fix form CSS media rendering
...
Fix the way the form CSS contained in the media attribute
is rendered. This is now an interator and not a single value.
Replace the current method with a for loop.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-11-29 01:12:36 -04:00
Hamish Farroq
680e6721f1
Fix spelling, MAYAN_WORKERS_... to MAYAN_WORKER_...
2018-10-14 04:52:46 +00:00
Roberto Rosario
c67c0e3742
Add support for changing the concurrency of the Celery workers in the Docker image. Add environment variables MAYAN_WORKER_FAST_CONCURRENCY, MAYAN_WORKER_MEDIUM_CONCURRENCY and MAYAN_WORKER_SLOW_CONCURRENCY.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-26 21:22:57 -04:00
Roberto Rosario
5d39ec4ed3
Update the Docker install to mirror the new recommended installation process at /opt. Use virtualenv for the Docker install.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-09-07 03:34:58 -04:00
Roberto Rosario
1b1d549bbf
Increase gunicorn's timeout from 30 seconds to 120.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-08-07 22:54:05 -04:00
Roberto Rosario
acea52400a
Use the MAYAN_SETTINGS_MODULE instead of MAYAN_SETTINGS_FILE for consistency.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-06-05 02:14:11 -04:00
Roberto Rosario
a734538170
Dump the gunicorn and redis logs to the console.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-20 07:50:36 -04:00
Roberto Rosario
ec82738a47
Invert logic on when to start the local REDIS server. Use the Python binary path and not the dist-packages one. Don't create a pid file for celery beat, supervisor already does it.
2018-05-10 04:33:51 -04:00
Roberto Rosario
55359c72cf
Unify supervisor configuration files. Lower nice levels of most workers. Merge OCR and slow workers. Lower gunicorn workers to 2. Call all supervisor processes using a shell to expand the install and mayan binary locations and avoid hardcoding.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-05-04 00:48:03 -04:00
Roberto Rosario
9fad6c37bf
Fix process name for the OCR worker.
...
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-04-30 05:13:01 -04:00
Eric Riggs
8ee45162aa
Revert workers to prefork method
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-26 03:54:59 -04:00
Eric Riggs
f3c86ada45
- Lower concurrency of workers to 1
...
- Change process type to gevent
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-26 02:19:09 -04:00
Eric Riggs
f1ed40adba
Merge Docker files back into main repo.
...
Signed-off-by: Eric Riggs <ericriggs42@gmail.com >
2018-04-22 04:14:07 -04:00