Skip to content

Instantly share code, notes, and snippets.

@kgriffs
Last active August 24, 2022 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kgriffs/9b918f5bbed485dba231abf323a8c45f to your computer and use it in GitHub Desktop.
Save kgriffs/9b918f5bbed485dba231abf323a8c45f to your computer and use it in GitHub Desktop.
Start redis server without disk persistence; memory only for testing (avoids having to clean up a dump.rdb file)
redis-server --save "" --appendonly no
@kgriffs
Copy link
Author

kgriffs commented Aug 24, 2022

Tip: Add this to your ~/.zshrc file:

alias redis=redis-server --save "" --appendonly no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment