geew
V2EX  ›  问与答

rqworker 的启动路径问题

  •  
  •   geew · Aug 15, 2013 · 2949 views
    This topic created in 4695 days ago, the information mentioned may be changed or developed.
    rqworker只能在项目目录里面启动吗? 它的启动路径有限制么

    现在发现在别的地方启动, 无法成功

    官网的settings从没成功过

    settings.py

    REDIS_HOST = 'localhost'
    REDIS_PORT = 6380
    QUEUES = ['high', 'normal', 'low']

    启动:
    rqworker -c settings

    报错: redis.exceptions.ConnectionError: Error 111 connecting localhost:6380. Connection refused.
    2 replies    1970-01-01 08:00:00 +08:00
    SErHo
        1
    SErHo  
       Aug 15, 2013   ❤️ 1
    你的 Redis 启动了吗?端口是多少。
    geew
        2
    geew  
    OP
       Aug 16, 2013
    @SErHo 嗯 是我sb了, 然后那个rqworker的启动不是在任意地方的吧 貌似只是在项目所在目录才行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3693 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 10:30 · PVG 18:30 · LAX 03:30 · JFK 06:30
    ♥ Do have faith in what you're doing.