Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 常规运行没反应 #209

Open
zhongjunlee opened this issue Feb 23, 2024 · 0 comments
Open

Windows 常规运行没反应 #209

zhongjunlee opened this issue Feb 23, 2024 · 0 comments
Assignees
Labels

Comments

@zhongjunlee
Copy link

启动后输出了如下日志:

  • Serving Flask app "proxypool.processors.server" (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: on
  • Running on http://0.0.0.0:5555/ (Press CTRL+C to quit)
    2024-02-23 17:10:24.077 | DEBUG | proxypool.scheduler:run_getter:48 - getter loop 0 start...

有两个问题:
1.为什么启动默认是production环境,正常应该是dev环境吧?
2.Windows环境应该不需要执行下面这些命令吧?

设置 host、port、password,如果 password 为空可以设置为空字符串,示例如下:

export PROXYPOOL_REDIS_HOST='localhost'
export PROXYPOOL_REDIS_PORT=6379
export PROXYPOOL_REDIS_PASSWORD=''
export PROXYPOOL_REDIS_DB=0

或者只设置连接字符串:

export PROXYPOOL_REDIS_CONNECTION_STRING='redis://localhost'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants