Max Attachment Size when Syncing?

I found this on GitHub in the code for the server


itemSizeHardLimit: 250000000, // Beyond this the Postgres driver will crash the app


if (itemSize > this.itemSizeHardLimit) throw new ErrorPayloadTooLarge(`Uploading items larger than ${prettyBytes(this.itemSizeHardLimit)} is currently disabled`);

So it looks like the server actually has a 250MB hard limit to prevent the Postgres driver crashing the server.

1 Like