question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to flushdb async

See original GitHub issue

I want to use FLUSHDB ASYNC, but not sure how to do that with ioredis. I only see flushdb. Thanks.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
luincommented, Nov 3, 2021

It should just be redis.flushdb(‘async’)

0reactions
zoeytruongcommented, Jan 4, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found