Migration from KV to D1

Hi,

I am currently running a migration API in an existing pages project which fetches all resources from a certain KV namespace, and inserts those into a specific D1 database. Since there are quite a lot of items in the KV namespace, an internal server error is produced: Too many API requests by single worker invocation. I understand that internal calls to certain services are limited to 1000. Is there any way to temporarily increase this in order to make the migration process easier?

Worst case I can limit the amount of items interacted with, but this is a little more tedious than just being able to migrate it all at the same time.
Was this page helpful?