Skip to content

Commit

Permalink
Don't use temp_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
judahrand committed Oct 5, 2022
1 parent 86b668a commit 495da27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelinewise/cli/pipelinewise.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ def get_lock(self, target_id: str, tap_id: str) -> sherlock.lock.BaseLock:
key = f'{target_id}__{tap_id}'
if key not in self.locks:
self.locks[key] = sherlock.FileLock(
key,
client=pathlib.Path(self.temp_dir),
'lockfile',
client=pathlib.Path(self.get_tap_dir(target_id, tap_id)),
timeout=1,
expire=DEFAULT_LOCK_EXPIRY,
)
Expand Down

0 comments on commit 495da27

Please sign in to comment.