Skip to content

Commit

Permalink
fix: expire is a keyword argument for beaker cache (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianruzhou-db authored Dec 7, 2020
1 parent 5680775 commit a7b2ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata_service/proxy/neo4j_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ def get_latest_updated_ts(self) -> Optional[int]:
return None

@timer_with_counter
@_CACHE.cache('_get_popular_tables_uris', _GET_POPULAR_TABLE_CACHE_EXPIRY_SEC)
@_CACHE.cache('_get_popular_tables_uris', expire=_GET_POPULAR_TABLE_CACHE_EXPIRY_SEC)
def _get_popular_tables_uris(self, num_entries: int) -> List[str]:
"""
Retrieve popular table uris. Will provide tables with top x popularity score.
Expand Down

0 comments on commit a7b2ec5

Please sign in to comment.