dabingya
V2EX  ›  问与答

gunicorn 使用 gevent 问题

  •  
  •   dabingya · Nov 25, 2018 · 1517 views
    This topic created in 2755 days ago, the information mentioned may be changed or developed.

    请教一个问题:gunicorn 使用 gevent,启动 worker 10 个,但是现在有个请求 /abc/ 需要 3 分钟,然后我同时请求这个 /abc 最多 5 次,其他的请求就等待了...

    bubuhere
        1
    bubuhere  
       Nov 25, 2018 via iPhone
    worker 是有 timeout 的,是不是被 master 干掉了。这前五次请求有成功的吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5957 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 06:12 · PVG 14:12 · LAX 23:12 · JFK 02:12
    ♥ Do have faith in what you're doing.