Logs were split into a new CloudDrop document every 700 KB, so a session log of about 1 MB appeared as two files. CloudDrop accepts text documents up to 5 MB, so the limit is now 4 MB and the response limit of the log API leaves room for JSON-escaped paths. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d7814e1b48
commit
d63a972591
2 files changed
+2
-2
No files matched your search
@@ -5,7 +5,7 @@ const { EventEmitter } = require('node:events');
|
||||
const { ClouddropLogApi, CloudLogError } = require('./clouddrop-log-api');
|
||||
const { iterateUploadLogEntries } = require('./upload-log');
|
||||
|
||||
const MAX_DOCUMENT_BYTES = 700000;
|
||||
const MAX_DOCUMENT_BYTES = 4000000;
|
||||
const hash = value => createHash('sha256').update(value).digest('hex');
|
||||
const validId = value => typeof value === 'string' && /^[a-zA-Z0-9_-]{1,100}$/.test(value);
|
||||
const blocksRetry = code => ['INVALID_KEY', 'ACCESS_DENIED', 'UNRESTRICTED_KEY_REQUIRED',
|
||||
|
||||
Reference in new issue
Block a user