FUNCTION FLUSH

FUNCTION FLUSH

FUNCTION FLUSH [ASYNC | SYNC]
Available since
7.0.0
Time complexity
O(N) where N is the number of functions deleted
ACL categories
@write, @slow, @scripting

Deletes all the libraries.

Unless called with the optional mode argument, the lazyfree-lazy-user-flush configuration directive sets the effective behavior. Valid modes are:

  • ASYNC: Asynchronously flush the libraries.
  • !SYNC: Synchronously flush the libraries.

For more information please refer to Introduction to Redict Functions.

Redict logo courtesy of @janWilejan, CC-BY-SA-4.0. Download SVG ⤑

Portions of this website courtesy of Salvatore Sanfilippo, CC-BY-SA-4.0.