(self, server, timestamp, used, peak)
Saves used and peak memory stats,

        Args:
            server (str): The server ID
            timestamp (datetime): The time of the info.
            used (int): Used memory value.
            peak (int): Peak memory value.
Saves used and peak memory stats,
Saves used and peak memory stats
def save_memory_info(self, server, timestamp, used, peak):
        """Saves used and peak memory stats,

        Args:
            server (str): The server ID
            timestamp (datetime): The time of the info.
            used (int): Used memory value.
            peak (int): Peak memory value.
        """
        data = {"timestamp": str(timeutils.convert_to_epoch(timestamp)),
                "used": used,
                "peak": peak}
        self.conn.zadd(server + ":memory", str(timeutils.convert_to_epoch(timestamp)), data)
def save_memory_info ( self , server , timestamp , used , peak ) : data = { "timestamp" : str ( timeutils . convert_to_epoch ( timestamp ) ) , "used" : used , "peak" : peak } self . conn . zadd ( server + ":memory" , str ( timeutils . convert_to_epoch ( timestamp ) ) , data )