disable request queue storage

Hey team, my request queue is too long and it is critically affecting my local storage, is there anyway I can disable it manually by overwritten some configurations?
5 Replies
exotic-emerald
exotic-emerald3y ago
Hello, you can directly use the apify cloud storage if you're having trouble with your local storage. https://sdk.apify.com/api/apify/interface/OpenStorageOptions#forceCloud
exotic-emerald
exotic-emerald3y ago
https://sdk.apify.com/docs/1.3/api/request-queue
https://sdk.apify.com/docs/1.3/api/request-queue
search here for forceCloud
correct-apricot
correct-apricotOP3y ago
Ok might as well just go in node modules and fix this
sensitive-blue
sensitive-blue3y ago
Configuration.getGlobalConfig().set('persistStorage', false);
ratty-blush
ratty-blush3y ago
@Lukas Krivka This configuration also disables the named KV locally. So is there any way to just disable request queue or rotate the json files somehow? Also getting the configuration and setting the persistStorage actually doesn't have an affect it seems. You have to get it from the map inside the services.

Did you find this page helpful?