Skip to content

Commit 5e83065

Browse files
remove tenacity
1 parent df51708 commit 5e83065

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

node/storage/db/db.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from sqlalchemy.exc import OperationalError, SQLAlchemyError
88
from sqlalchemy.orm import scoped_session, sessionmaker
99
from sqlalchemy.pool import QueuePool
10-
from tenacity import retry, stop_after_attempt, wait_exponential
1110
from typing import Dict, List, Optional, Union, Any
1211

1312
from node.config import LOCAL_DB_URL
@@ -712,10 +711,6 @@ async def get_connection_stats(self) -> Dict:
712711
logger.error(f"Failed to get connection stats: {str(e)}")
713712
return {}
714713

715-
@retry(
716-
stop=stop_after_attempt(3),
717-
wait=wait_exponential(multiplier=0.5, min=0.5, max=2)
718-
)
719714
async def connect(self):
720715
self.is_authenticated = await self.check_connection_health()
721716
return self.is_authenticated, None, None

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ pyyaml = "^6.0.1"
3737
protobuf = "^5.26.1"
3838
ecdsa = "^0.19.0"
3939
ipfshttpclient = "^0.7.0"
40-
tenacity = "^9.0.0"
4140
grpcio = "^1.66.2"
4241
grpcio-tools = "^1.66.2"
4342
charset-normalizer = "3.3.2"

0 commit comments

Comments
 (0)