Open thierrybla opened 1 year ago
I believe it does change the timeout, but in the code the log message:
logging.info('Finished running media-tools script. Sleeping for 10 minutes.')
should be replaced by:
logging.info(f'Finished running media-tools script. Sleeping for {API_TIMEOUT} seconds.')
EDIT:
My bad, you also have to change ENV TIMEOUT=<N>
to ENV API_TIMEOUT=<N>
in the Dockerfile
I believe it does change the timeout, but in the code the log message:
logging.info('Finished running media-tools script. Sleeping for 10 minutes.')
should be replaced by:
logging.info(f'Finished running media-tools script. Sleeping for {API_TIMEOUT} seconds.')
EDIT: My bad, you also have to change
ENV TIMEOUT=<N>
toENV API_TIMEOUT=<N>
in the Dockerfile
Thanks for the correct answer! will fix it on my folk, and send a pr.
Hi,
When I change the flag to API_TIMEOUT=3600 (1 hour) it does not change when the docker is run it will cooldown for 10 minutes and not 1 hour as stated in the README.