Increase chunksize for Discourse backups using Scaleway S3

Hi everyone,

I’m running a self-hosted Discourse implementation and have encountered an issue with backups using Scaleway S3 as storage. The problem seems to be related to multipart uploads:

Part number must be an integer between 1 and 1000, inclusive

I understand this isn’t an issue for small instances, but in my case, backups are failing due to this limitation. I’m looking for a way to increase the chunksize in Discourse to reduce the number of parts generated during uploads.

My questions are:

Is there a way to adjust the chunksize in Discourse to minimize the number of upload parts?
Has anyone else faced this issue and found a solution or workaround while contacting Scaleway to request a change to this limit?

Any help would be greatly appreciated.

Thanks in advance!