Skip to content

Commit

Permalink
doc: Remove spammy lock acquisition debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman committed Nov 29, 2024
1 parent ee8e90e commit d075b19
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions neps/state/filebased.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,6 @@ def lock(
) -> Iterator[None]:
self.lock_path.parent.mkdir(parents=True, exist_ok=True)
self.lock_path.touch(exist_ok=True)
logger.debug("Acquiring lock on %s", self.lock_path)
try:
with pl.Lock(
self.lock_path,
Expand All @@ -522,7 +521,6 @@ def lock(
" environment variables to increase the timeout:"
f"\n\n{pprint.pformat(ENV_VARS_USED)}"
) from e
logger.debug("Released lock on %s", self.lock_path)


def load_filebased_neps_state(directory: Path) -> NePSState[Path]:
Expand Down

0 comments on commit d075b19

Please sign in to comment.