未验证 提交 d4d40a0b 编写于 作者: 走神的阿圆's avatar 走神的阿圆 提交者: GitHub

fix bug for QUEUE_TIMEOUT (#776)

上级 fafdc32c
...@@ -24,6 +24,8 @@ import threading ...@@ -24,6 +24,8 @@ import threading
import os import os
QUEUE_TIMEOUT = os.getenv("VDL_QUEUE_TIMEOUT") QUEUE_TIMEOUT = os.getenv("VDL_QUEUE_TIMEOUT")
if isinstance(QUEUE_TIMEOUT, str):
QUEUE_TIMEOUT = int(QUEUE_TIMEOUT)
class RecordWriter(object): class RecordWriter(object):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册