Skip to content

Commit

Permalink
fix(rf2): use correct temporary file directory name when...
Browse files Browse the repository at this point in the history
...creating mapdb internal maps
  • Loading branch information
cmark committed May 2, 2024
1 parent 247ea43 commit a0831c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ private String getEffectiveTimeKey(final String effectiveTime) {
private DB createDb() {
try {
Maker dbMaker = DBMaker
.fileDB(Files.createTempDirectory(rf2Archive.toString()).resolve("rf2-import.db").toFile())
.fileDB(Files.createTempDirectory(rf2Archive.getAttachmentIdString()).resolve("rf2-import.db").toFile())
.fileDeleteAfterClose()
.fileMmapEnable()
.fileMmapPreclearDisable();
Expand Down

0 comments on commit a0831c7

Please sign in to comment.