01 2022 档案
摘要:<div> <div class="circle"></div> <div class='wrap'> <div class='ribbon'> <span>测试1</span> </div> </div> </div> <style> .circle { width:100px; height:5
阅读全文
摘要:tornado推荐是多进程+协程的方式运行,ioloop.current().start(),单个接口阻塞,会导致整个服务阻塞,所以一般接口逻辑中要使用非阻塞的方法。 比如time.sleep(5)应该更换为yield gen.sleep(5),这样就可以将资源让给其他接口处理,该接口仍然会阻塞,等
阅读全文
摘要:转 https://canmeng.net/c/967 实测可用
阅读全文