我们在 Python 项目中使用 Carrot。我编写了一个 Python 脚本作为消息队列的消费者。我在 Windows 7 中使用命令行 shell 调用了这个 Python 脚本
python consumer.py
但是,过了一会儿,正在运行的会话被中止,错误是:
[errno 10054] An existing connection was forcibly closed by the remote host
生产者会话在 Linux 服务器上仍然运行良好。只是想知道如何解决这个问题并在 Windows 上进行长时间运行的消费者会话。