Ater uploading about 120-150 images (or more, if they're small), the hubBlob actually STOPS showing almost 70% of newly uploaded images. And when it DOES show it, the total shown amount of Blobs stays THE SAME. Meaning, it shows new blobs by not showing the previous ones??
Also, in local production for some reason the total amount of shown blobs is ALWAYS capped at a 100.
Do note, that it works this way with specifying limit = 1000, and without specifying limit at all.
At first, I thought the problem was with uploading files, but no. The files are successfully uploaded to cloudflare, but AREN'T shown with hubBlob.list(). On R2 they're uploaded completely correctly: links work, all of the metadata is there.
Steps to reproduce
1) Check if it caps at a 100 on localhost - may be the fastest way.
2) On deployed website, upload 120-150 normal sized images.
3) Afterwards, try to upload more and observe hubBlob.list() behaviour.
DO NOTE I'm uploading ALL of the images/videos with customMetadata property. Tested on both nuxthub 0.6.x, and the newest 0.7.0 version.
Expected behavior
To see the exact same amount of files. as are uploaded to cloudflare r2.
I'm currently using cloudflare workers for my bucket instead of hubBlob, and everything works perfectly. In fact, this is the exact copy of expeted behaviour of hubBlob, but without the bug of not seeing newly added images.
Describe the bug
Ater uploading about 120-150 images (or more, if they're small), the hubBlob actually STOPS showing almost 70% of newly uploaded images. And when it DOES show it, the total shown amount of Blobs stays THE SAME. Meaning, it shows new blobs by not showing the previous ones??
Also, in local production for some reason the total amount of shown blobs is ALWAYS capped at a 100.
Do note, that it works this way with specifying limit = 1000, and without specifying limit at all.
At first, I thought the problem was with uploading files, but no. The files are successfully uploaded to cloudflare, but AREN'T shown with hubBlob.list(). On R2 they're uploaded completely correctly: links work, all of the metadata is there.
Steps to reproduce
1) Check if it caps at a 100 on localhost - may be the fastest way. 2) On deployed website, upload 120-150 normal sized images. 3) Afterwards, try to upload more and observe hubBlob.list() behaviour.
DO NOTE I'm uploading ALL of the images/videos with customMetadata property. Tested on both nuxthub 0.6.x, and the newest 0.7.0 version.
Expected behavior
To see the exact same amount of files. as are uploaded to cloudflare r2.
I'm currently using cloudflare workers for my bucket instead of hubBlob, and everything works perfectly. In fact, this is the exact copy of expeted behaviour of hubBlob, but without the bug of not seeing newly added images.
Take a look at the code: