How to deal with request that may timeout?

13 views
Skip to first unread message

Big Strong

unread,
Oct 26, 2015, 12:18:10 PM10/26/15
to web.py
I have a  web.py application runs as  backgroud which provides some time-costing tasks. The task is triggered while receiving specific instructions from user. However, the response must be within 5s, or else the user would repeatedly post the request and result in repeated task executing. So it's there an asynchronous mechanism of web.py which can respond the user first then execute the task in background without being interrupted?
Reply all
Reply to author
Forward
0 new messages