##// END OF EJS Templates
revlog: increase readahead size
Matt Mackall -
r16418:e5750c67 default
parent child Browse files
Show More
@@ -812,7 +812,7 b' class revlog(object):'
812 else:
812 else:
813 df = self.opener(self.datafile)
813 df = self.opener(self.datafile)
814
814
815 readahead = max(65536, length)
815 readahead = max(_chunksize, length)
816 df.seek(offset)
816 df.seek(offset)
817 d = df.read(readahead)
817 d = df.read(readahead)
818 df.close()
818 df.close()
General Comments 0
You need to be logged in to leave comments. Login now