Skip to content

XiangxiMeng/az-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

az-web-app

docker build . --tag <image>:<version>

For local running

docker run -p 8000:8000 <image>:<version>

Visit

http://localhost:8000/sleep/{secs}

http://localhost:8000/sleep1/{secs}

http://localhost:8000/sleep2/{secs}

http://localhost:8000/sleep3/{secs}

http://localhost:8000/sleep4/{secs}

or

http://localhost:8000/asleep/{secs}

http://localhost:8000/asleep1/{secs}

http://localhost:8000/asleep2/{secs}

http://localhost:8000/asleep3/{secs}

http://localhost:8000/asleep4/{secs}

asleep uses gevent for async sleep

Don't visit the same url at the same time in the same browser, because the browser will automatically put these requests in one queue.

In Azure Web App set WEBSITES_PORT=8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published