deep-jade
deep-jade3y ago

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
initial-rose
initial-rose3y 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
initial-rose
initial-rose3y 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
deep-jade
deep-jadeOP3y ago
Ok might as well just go in node modules and fix this
Lukas Krivka
Lukas Krivka3y ago
Configuration.getGlobalConfig().set('persistStorage', false);
modern-teal
modern-teal3y 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?