Skip to content

Commit 3e3f4fd

Browse files
authored
Increase the default value of alru cache max size (#3146)
1 parent fe7064d commit 3e3f4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mars/services/meta/api/oscar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ async def get_band_chunks(self, band: BandType) -> List[str]:
237237

238238
class MetaAPI(BaseMetaAPI):
239239
@classmethod
240-
@alru_cache(cache_exceptions=False)
240+
@alru_cache(maxsize=1024, cache_exceptions=False)
241241
async def create(cls, session_id: str, address: str) -> "MetaAPI":
242242
"""
243243
Create Meta API.

0 commit comments

Comments
 (0)