Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个Slack斜杠命令处理程序,我注意到如果我的响应不适合大约 5 秒的超时,则它们不会被转发。
我怎么能用一个函数来包装我的 Django 视图,该函数可以检测我们是否即将超时,如果是这种情况,用特定的响应终止连接?