Revert "Smaller timeout for MongoStorage connection"

This reverts commit d88b7ec612.
This commit is contained in:
Rishat Fayzullin 2024-06-14 11:13:17 +03:00
parent af118d0f9d
commit 03c0d58290

View file

@ -39,10 +39,7 @@ class MongoStorage(BaseStorage):
@classmethod
def from_url(
cls,
url: str,
connection_kwargs: Optional[Dict[str, Any]] = {"serverSelectionTimeoutMS": 2000},
**kwargs: Any,
cls, url: str, connection_kwargs: Optional[Dict[str, Any]] = None, **kwargs: Any
) -> "MongoStorage":
"""
Create an instance of :class:`MongoStorage` with specifying the connection string