Skip to content

Commit

Permalink
Increase the default value of alru cache max size (#3146)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongchun committed Jun 15, 2022
1 parent fe7064d commit 3e3f4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mars/services/meta/api/oscar.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ async def get_band_chunks(self, band: BandType) -> List[str]:

class MetaAPI(BaseMetaAPI):
@classmethod
@alru_cache(cache_exceptions=False)
@alru_cache(maxsize=1024, cache_exceptions=False)
async def create(cls, session_id: str, address: str) -> "MetaAPI":
"""
Create Meta API.
Expand Down

0 comments on commit 3e3f4fd

Please sign in to comment.