Skip to content

Turn off storage #1533

Answered by B4nan
tsrdatatech asked this question in Q&A
Sep 9, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

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 via config.useStorageClient(new MyStorage()).

We should add an option for this @vladfrangu

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@vladfrangu
Comment options

@tsrdatatech
Comment options

@tsrdatatech
Comment options

@B4nan
Comment options

@tsrdatatech
Comment options

Answer selected by tsrdatatech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants