Skip to content

Commit 286f4f8

Browse files
committed
switch to block size of 16MB since I'm just not 100% sure
1 parent 84aabca commit 286f4f8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/packages/util/db-schema/cloud-filesystems.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ export const MIN_PORT = 40000;
3434
export const MAX_PORT = 48000;
3535
export const MIN_BLOCK_SIZE = 1;
3636
// requires my fork of juicefs to get above 16 (supports 64)!
37-
// do not use non-fork on a filesystem with a block size bigger than 16, as it may corrupt it...
38-
export const MAX_BLOCK_SIZE = 64;
39-
export const RECOMMENDED_BLOCK_SIZE = 64;
37+
// do not use non-fork on a filesystem with a block size bigger
38+
// than 16, as it may corrupt it...
39+
// Just in case -- for now we will restrict to 16 anyways.
40+
export const MAX_BLOCK_SIZE = 16;
41+
export const RECOMMENDED_BLOCK_SIZE = 16;
4042

4143
export interface GoogleCloudServiceAccountKey {
4244
type: "service_account";

src/packages/util/smc-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/* autogenerated by the update_version script */
2-
exports.version=1715083343;
2+
exports.version=1719725282;

0 commit comments

Comments
 (0)