File manager - Edit - /usr/share/doc/uwsgi-core/tests/sleeping_async.py
Back
import uwsgi sleepvalue = 5 def application(env, start_response): start_response('200 Ok', [('Content-type', 'text/html')]) yield uwsgi.async_sleep(sleepvalue) #print("TIMEOUT: ", env['x-wsgiorg.fdevent.timeout']) yield "<h1>Hello World after %d seconds</h1>" % sleepvalue
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings