Python time.sleep()的上限? [英] Upper limit in Python time.sleep()?
本文介绍了Python time.sleep()的上限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您可以指定一个线程以time.sleep()进入睡眠状态的上限吗?我长期处于休眠状态(即超过1k秒)时一直遇到问题. Windows和Unix平台上均已出现此问题.
Is there an upper limit to how long you can specify a thread to sleep with time.sleep()? I have been having issues with sleeping my script for long periods (i.e., over 1k seconds). This issue has appeared on both Windows and Unix platforms.
推荐答案
查看全文