Skip to content

Commit 88c2a04

Browse files
committed
Cache
1 parent 5df41b8 commit 88c2a04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/core/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ def get_file_contents(file_path: str) -> str | None:
130130
return None
131131

132132

133+
@lru_cache()
133134
def is_database_replica_setup() -> bool:
134135
"""Checks if any database replica is set up"""
135136
return any(

0 commit comments

Comments
 (0)