Python's time.sleep() hangs -
i have test script sleeps random amount of seconds, between 1 , 180 seconds. test program hang more 3 minutes.
so changed code sleep 60 seconds (1 minute) , ran script. after 20 hours (!!!), code still hanging on time.sleep().
the code is
downtime = 60 time.sleep(downtime) why python hang forever on time.sleep(60)?
you use 2 different variables downtime , downtime. probably, downtime greater 60
Comments
Post a Comment