python - 如何在Flask中创建Celery实例?
伊谢尔伦
伊谢尔伦 2017-04-18 09:25:02
0
1
893
伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(1)
伊谢尔伦

It is easiest to dedicate a flask instance worker, which is the independence mentioned at the end of the question. The price is that the context is different, forget your g variable, the parameters can only be passed. They all use one instance, and it would be too troublesome to get rid of the circular import.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template