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
@@ -31,7 +31,7 @@ class ClouddropLogApi {
|
||||
let size = 0;
|
||||
for await (const chunk of response.body) {
|
||||
size += chunk.length;
|
||||
if (size > 2 * 1024 * 1024) {
|
||||
if (size > 10 * 1024 * 1024) {
|
||||
response.body.destroy();
|
||||
throw new CloudLogError('RESPONSE_TOO_LARGE');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user