Mbonea commited on
Commit
9d130ca
1 Parent(s): ecb3b61

Revert "debug mode"

Browse files

This reverts commit 5e39b6406f0ffdcc2449228ee507a50c47ab4608.

Files changed (2) hide show
  1. App/Worker.py +1 -1
  2. Dockerfile +1 -1
App/Worker.py CHANGED
@@ -12,7 +12,7 @@ celery = Celery()
12
  celery.config_from_object(celery_config)
13
  celery.conf.update(
14
  # Other Celery configuration settings
15
- CELERYD_LOG_LEVEL='DEBUG', # Set log level to DEBUG for the worker
16
  )
17
 
18
  @celery.task(name="embbeding", bind=True)
 
12
  celery.config_from_object(celery_config)
13
  celery.conf.update(
14
  # Other Celery configuration settings
15
+ CELERYD_LOG_LEVEL='INFO', # Set log level to DEBUG for the worker
16
  )
17
 
18
  @celery.task(name="embbeding", bind=True)
Dockerfile CHANGED
@@ -22,7 +22,7 @@ USER admin
22
  COPY --chown=admin . /srv
23
 
24
  # Command to run the application
25
- CMD uvicorn App.app:app --host 0.0.0.0 --port 7860 --workers 4 & celery -A App.Worker.celery worker -c 4 --loglevel=DEBUG
26
 
27
  # Expose the server port
28
  EXPOSE 7860
 
22
  COPY --chown=admin . /srv
23
 
24
  # Command to run the application
25
+ CMD uvicorn App.app:app --host 0.0.0.0 --port 7860 --workers 4 & celery -A App.Worker.celery worker -c 4 --loglevel=info
26
 
27
  # Expose the server port
28
  EXPOSE 7860