def set_total_limit(self, read="<STR_LIT:0>", write="<STR_LIT:0>"):
if read == "<STR_LIT:0>" and write == "<STR_LIT:0>":<EOL><INDENT>self.total = {}<EOL>return<EOL><DEDENT>if not read.isdigit() or not write.isdigit():<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.total = {"<STR_LIT>": read, "<STR_LIT>": write}<EOL>
Set the total throughput limit