How to flushdb async
See original GitHub issueI want to use FLUSHDB ASYNC
, but not sure how to do that with ioredis. I only see flushdb
. Thanks.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
FLUSHDB - Redis
By default, FLUSHDB will synchronously flush all keys from the database. Starting with Redis 6.2, setting the lazyfree-lazy-user-flush configuration directive ...
Read more >How to FlushDB in Redis - Linux Hint
You can remove all the keys from all the databases in the Redis cluster by using the FLUSHALL command. ... Similarly, you can...
Read more >How to flush Redis cache and delete everything using the CLI
FLUSHALL command – Remove all the keys of all the existing databases, not just the currently selected one.
Read more >Redis FLUSHDB | How to Use CLI to Flush Redis Cache?
By default, to flush the keys synchronously from the database, use the FLUSHDB command. From Redis 6.2, fix the lazy free config settings...
Read more >How to empty a redis database? - Stack Overflow
FLUSHDB - Delete all the keys of the currently selected DB. FLUSHALL - Delete all the keys of all the existing databases, not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It should just be redis.flushdb(‘async’)
I made the above change and it got merged. When does this @types/ioredis package get updated? I can see the changes in the DefinitelyTyped repo. When I use version 4.28.6 for
@types/ioredis
, I don’t see that change. I want to know how that npm package get bundled to reflect the change that I merged in. @luin