diff --git a/object-cache.php b/object-cache.php
index d63bc0b98685fd2606ee3be51cbdaf7262022f73..d0a54f2aeb3c7c0309299b561eaf87e2091cebb5 100644
--- a/object-cache.php
+++ b/object-cache.php
@@ -908,6 +908,11 @@ class WP_Object_Cache {
 	 * @return  bool                Returns TRUE on success or FALSE on failure.
 	 */
 	public function flush( $delay = 0 ) {
+		$delay = absint( $delay );
+		if ( $delay ) {
+			sleep( $delay );
+		}
+
 		$result = $this->redis->flushall();
 
 		return $result;