解决并发执行冲突 #2
Unanswered
caoyicheng11
asked this question in
Q&A
Replies: 1 comment
-
感谢指出。方便的话,提个PR吧,这样贡献者中也有您 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在并发执行NormalizeFormula的时候,会遇到以下报错。
[Errno 2] No such file or directory: '/root/miniconda3/envs/3.7/lib/python3.7/site-packages/process_formula/tmp.temp.out'
这个报错是由于调用以下函数时,创建并删除
tmp
和tmp.temp.out
,并发会出现冲突。为了解决改问题,我临时想到用
uuid.uuid4()
去解决冲突目前测试下来不会出现Error
Beta Was this translation helpful? Give feedback.
All reactions