Skip to content

Commit

Permalink
Reduce number of cache subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumBadger committed Dec 15, 2020
1 parent 6e2d4ee commit f901ebb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions assets/changelog-alpha.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/Alpha 258 (2020-12-15)
Reduce number of cache subdirectories

/Alpha 257 (2020-12-15)
Fix for cache errors caused by too many files in one directory

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ private static File getSubdirForCacheFile(
cacheRoot,
"rr_cache_files",
String.format(Locale.US, "%02d", cacheFileId % 100),
String.format(Locale.US, "%02d", (cacheFileId / 100) % 100));
String.format(Locale.US, "%d", (cacheFileId / 100) % 10));
}

public class ReadableCacheFile {
Expand Down

0 comments on commit f901ebb

Please sign in to comment.