|Phillip Tarrant f092f3d16b||1 year ago|
|templates||1 year ago|
|.drone.yml||1 year ago|
|.gitignore||1 year ago|
|Dockerfile||1 year ago|
|README.md||1 year ago|
|docker-compose.yml||1 year ago|
|ports.py||1 year ago|
|requirements.txt||1 year ago|
|test.sh||1 year ago|
Currently the purpose of this little flask app is to host an api that will check to see if a port is open on the requestor. I also return the IP, and execution time. Timeout is set to 3 seconds to keep things speedy.
10/minute rate limit is setup.
Currently this is running on 4 workers. As the app has no storage, we don't need to worry about concurrentcy.
Maybe have redis count requests per IP? idk if that's needed.