added motor/pinned the curl version
This commit is contained in:
1 parent
4c1033057a
commit
d4f4830ff2
2 files changed
+4
-2
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ dependencies = [
|
|||||||
"aiohttp>=3.14.1",
|
"aiohttp>=3.14.1",
|
||||||
"aioproxies @ git+https://git.rethinkstudios.io/rethink-public/aioproxies.git",
|
"aioproxies @ git+https://git.rethinkstudios.io/rethink-public/aioproxies.git",
|
||||||
"aioweb-tls[curl] @ git+https://git.rethinkstudios.io/rethink-public/aioweb_tls.git",
|
"aioweb-tls[curl] @ git+https://git.rethinkstudios.io/rethink-public/aioweb_tls.git",
|
||||||
"curl-cffi>=0.15.0",
|
"curl-cffi==0.15.0",
|
||||||
"fake-useragent>=2.2.0",
|
"fake-useragent>=2.2.0",
|
||||||
"motor>=3.7.1",
|
"motor>=3.7.1",
|
||||||
"pydantic>=2.13.4",
|
"pydantic>=2.13.4",
|
||||||
|
|||||||
@@ -67,8 +67,10 @@ def get_mongo_client() -> AsyncIOMotorClient:
|
|||||||
|
|
||||||
return AsyncIOMotorClient(
|
return AsyncIOMotorClient(
|
||||||
MONGO_URL,
|
MONGO_URL,
|
||||||
maxPoolSize=200,
|
|
||||||
minPoolSize=10,
|
minPoolSize=10,
|
||||||
|
connectTimeoutMS=20_000,
|
||||||
|
socketTimeoutMS=60_000,
|
||||||
|
serverSelectionTimeoutMS=30_000,
|
||||||
retryWrites=True,
|
retryWrites=True,
|
||||||
retryReads=True,
|
retryReads=True,
|
||||||
tz_aware=True,
|
tz_aware=True,
|
||||||
|
|||||||
Reference in new issue
Block a user