Tornado 6.5 Documentation
load templates from a non-filesystem location, subclass tornado.template.BaseLoader and pass an instance as the template_loader application setting. Compiled templates are cached by default; to turn off child process will have its own IOLoop, so it is important that nothing touches the global IOLoop instance (even indirectly) before the fork. Second, it is difficult to do zero-downtime updates in this model more information). When we receive requests, we iterate over the list in order and instantiate an instance of the first request class whose regexp matches the request path. The request class can be specified0 码力 | 272 页 | 1.12 MB | 2 月前3Tornado 6.5 Documentation
load templates from a non-filesystem location, subclass tornado.template.BaseLoader and pass an instance as the template_loader application setting. Compiled templates are cached by default; to turn off child process will have its own IOLoop, so it is important that nothing touches the global IOLoop instance (even indirectly) before the fork. Second, it is difficult to do zero-downtime updates in this model more information). When we receive requests, we iterate over the list in order and instantiate an instance of the first request class whose regexp matches the request path. The request class can be specified0 码力 | 437 页 | 405.14 KB | 2 月前3
共 2 条
- 1
相关搜索词