Skip to content

Commit

Permalink
Type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emlowe committed May 2, 2024
1 parent 2317a4d commit 52b3ab9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chia/util/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ def available_logical_cores() -> int:
if sys.platform == "win32":
cores = min(61, cores) # https://github.com/python/cpython/issues/89240

return cores


def caller_file_and_line(distance: int = 1, relative_to: Iterable[Path] = ()) -> Tuple[str, int]:
caller = getframeinfo(stack()[distance + 1][0])
Expand Down

0 comments on commit 52b3ab9

Please sign in to comment.