GithubHelp home page GithubHelp logo

Comments (7)

tiangolo avatar tiangolo commented on May 17, 2024 1

@mr-bjerre I think you were right, I recently made a big refactor to make all the images share the same config and avoid the chance of having desynchronizations like that for each image 😅

from uvicorn-gunicorn-docker.

tiangolo avatar tiangolo commented on May 17, 2024

Interesting!

So, the --log-files refers to this setting: http://docs.gunicorn.org/en/stable/settings.html#errorlog, which is set here: https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/master/python3.6/gunicorn_conf.py#L30 ✔️

The --worker-tmp-dir refers to this: http://docs.gunicorn.org/en/stable/settings.html#worker-tmp-dir, it would be a line with worker_tmp_dir = "/dev/shm", probably under the previous line. ❔

Would you like to add a PR with that?

from uvicorn-gunicorn-docker.

wshayes avatar wshayes commented on May 17, 2024

Sorry missed the log-files config. Just added the PR for the heartbeat file. Thanks!

from uvicorn-gunicorn-docker.

tiangolo avatar tiangolo commented on May 17, 2024

Thanks for your help @wshayes ! It's merged now, so I'll close this issue. But feel free to add more comments, new issues, etc.

from uvicorn-gunicorn-docker.

NixBiks avatar NixBiks commented on May 17, 2024

Any reason this was only implemented in python3.6 image and not the other images?

from uvicorn-gunicorn-docker.

tiangolo avatar tiangolo commented on May 17, 2024

@mr-bjerre hmm, not sure what you refer to. 🤔

This is implemented in all the images, the links for Python 3.6 above are just an example of the location where it is located.

from uvicorn-gunicorn-docker.

NixBiks avatar NixBiks commented on May 17, 2024

Are you sure? Looking at python 3.7 image it doesn't look like it to me!?

https://github.com/tiangolo/uvicorn-gunicorn-docker/blob/master/python3.7/gunicorn_conf.py

from uvicorn-gunicorn-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.