Problem occurs when sending a reset email to reset password (only on the server).
Print statements before and after async_process(rest_key_timelock, args=(database, username), kwargs={'timeout': 5}) seem to run asynchronously but the page hangs a long as the timeout I set here.
As far as I can tell my asynchronous process doesn't run asynchronously.
Which is why the page hangs.
Well it sort of does ... because I can print after it ... it just hangs on the page. Perhaps it is my implementation? Maybe I can do a redirect instead? Or just a page reload afterwards?
Problem occurs when sending a reset email to reset password (only on the server). Print statements before and after
async_process(rest_key_timelock, args=(database, username), kwargs={'timeout': 5})
seem to run asynchronously but the page hangs a long as the timeout I set here.As far as I can tell my asynchronous process doesn't run asynchronously. Which is why the page hangs. Well it sort of does ... because I can print after it ... it just hangs on the page. Perhaps it is my implementation? Maybe I can do a redirect instead? Or just a page reload afterwards?