code: def bgrewriteaof(host=None, port=None, db=None, password=None):
      '''
      Asynchronously rewrite the append-only file
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.bgrewriteaof
      '''
      server = _connect(host, port, db, password)
      return server.bgrewriteaof(f bgrewriteaof(host=None, port=None, db=None, password=None):
      '''
      Asynchronously rewrite the append-only file
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.bgrewriteaof
      '''
      server = _connect(host, port, db, password)
      return server.bgrewriteaof()
docs: Asynchronously rewrite the append-only file
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.bgrewriteaof