Skip to content

Commit

Permalink
Increase lru_cache size for default code filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
carljm committed Dec 22, 2017
1 parent 4244e39 commit d9e671c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monkeytype/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def _startswith(a: pathlib.Path, b: pathlib.Path) -> bool:
return False


@functools.lru_cache()
@functools.lru_cache(maxsize=8192)
def default_code_filter(code: CodeType) -> bool:
"""A CodeFilter to exclude stdlib and site-packages."""
# Filter code without a source file
Expand Down

0 comments on commit d9e671c

Please sign in to comment.