Skip to content

Commit

Permalink
fix: #7030 use temp-dir instead of data-dir for lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido Schreuder committed Oct 10, 2024
1 parent 585016a commit 94da21e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public final void lock() throws WriteLockException {
return;
}
try {
final File dir = settings.getDataDirectory();
final File dir = settings.getTempDirectory();
lockFile = new File(dir, lockFileName);
checkState();
int ctr = 0;
Expand Down

0 comments on commit 94da21e

Please sign in to comment.