refactor: 优化代码格式,调整多行参数传递和异常处理逻辑
This commit is contained in:
1 parent
2fa2073f2e
commit
68c8ccea66
5 files changed
+32
-23
No files matched your search
@@ -772,7 +772,8 @@ class underlying_operations:
|
||||
header = f.read(4)
|
||||
if header == b"\x89PNG":
|
||||
validate_out_dur = (
|
||||
time_module.time() - validate_out_start
|
||||
time_module.time()
|
||||
- validate_out_start
|
||||
) * 1000.0
|
||||
if validate_out_dur > 50.0:
|
||||
logging.info(
|
||||
|
||||
Reference in new issue
Block a user