1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 09:35:00 +09:00

GO-3032 Increase the fetcher limit up to 10mb

This commit is contained in:
Mikhail Iudin 2024-03-18 18:33:05 +01:00
parent 63995c458a
commit 70c643e184
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0

View file

@ -32,8 +32,8 @@ func New() LinkPreview {
}
const (
// read no more than 400 kb
maxBytesToRead = 400000
// read no more than 10 mb
maxBytesToRead = 10 * 1024 * 1024
maxDescriptionSize = 200
)