Configure gateway limits and encrypted storage
This commit is contained in:
1 parent
43987bbadb
commit
510e519bd1
23 files changed
+480
-17
No files matched your search
@@ -48,6 +48,7 @@ final class DiskStore implements ObjectStorage {
|
||||
private record VersionRecord(String id, String storageId, boolean marker, long modified) {}
|
||||
|
||||
DiskStore(Path root, long maxObject, long maxTotal) throws IOException {
|
||||
EncryptedVolume.requireConfigured(System.getenv(), root);
|
||||
this.root = root;
|
||||
objects = root.resolve("objects");
|
||||
temporary = root.resolve("pending");
|
||||
|
||||
Reference in new issue
Block a user