Turn off storage #1533
-
I am going to be running some crawlers as Lambdas on AWS and need to turn the storage off so it does not cause issues for me. I looked at the docs but did not see anything on how to turn that off. I am talking about the kay-value and requestque that is written. How do I turn that off? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
You cant disable the storage layer, it drives the crawler, but I guess you just want to disable the state persistence to JSON files and keep things only in memory, right? I dont think we have an easy way to do that right now. You could definitely extend We should add an option for this @vladfrangu |
Beta Was this translation helpful? Give feedback.
You cant disable the storage layer, it drives the crawler, but I guess you just want to disable the state persistence to JSON files and keep things only in memory, right?
I dont think we have an easy way to do that right now. You could definitely extend
@crawlee/memory-storage
and adjust the code to not write anything on disk, and pass this custom storage implementation viaconfig.useStorageClient(new MyStorage())
.We should add an option for this @vladfrangu