gstaff / flask-ngrok

A simple way to demo Flask apps from your machine.
Other
138 stars 58 forks source link

time.sleep in _run_ngrok too small? #4

Open joefriel opened 5 years ago

joefriel commented 5 years ago

I had to increase the time.sleep in _run_ngrok() to 2 (was 1) for reliable operation. Could this value be an option?

thanujan96 commented 1 year ago

I believe that the small delay is causing an error #11, because the program is unable to retrieve the public URL in the subsequent lines of code.