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•3y 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•3y ago
search here for forceCloud
correct-apricotOP•3y ago
Ok might as well just go in node modules and fix this
sensitive-blue•3y ago
Configuration.getGlobalConfig().set('persistStorage', false);
ratty-blush•3y 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.