-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
点击记录行情,pymongo报连接池异常 #4
Comments
没碰到过,但是Windows和Linux创建子进程的默认模式不一样。
…On Fri, Feb 11, 2022, 20:47 jackandres ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/35865845/153693754-70389a8b-b082-4169-b53a-b174652f0227.png>
第一次连接的时候是正常,但是退出程序在执行的时候就报这个连接池异常,这个是什么问题?
—
Reply to this email directly, view it on GitHub
<#4>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATPXLOIWPZ7UKHURJB77YQDU2XC53ANCNFSM5OGBO7OQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
哦,没问题了,已经处理过了,在实例化MongoClient对象的时候要加上connect=False参数就可以了。
***@***.***
发件人: Aureliano
发送时间: 2022-02-12 16:16
收件人: Aureliano90/Futures-Spot-Arbitrage-OKEx-V5
抄送: jackandres; State change
主题: Re: [Aureliano90/Futures-Spot-Arbitrage-OKEx-V5] 点击记录行情,pymongo报连接池异常 (Issue #4)
没碰到过,但是Windows和Linux创建子进程的默认模式不一样。
On Fri, Feb 11, 2022, 20:47 jackandres ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/35865845/153693754-70389a8b-b082-4169-b53a-b174652f0227.png>
第一次连接的时候是正常,但是退出程序在执行的时候就报这个连接池异常,这个是什么问题?
—
Reply to this email directly, view it on GitHub
<#4>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATPXLOIWPZ7UKHURJB77YQDU2XC53ANCNFSM5OGBO7OQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
第一次连接的时候是正常,但是退出程序在执行的时候就报这个连接池异常,这个是什么问题?
The text was updated successfully, but these errors were encountered: