##// END OF EJS Templates
revlog: skip opener option to pass chunk_cache_size value...
marmoute -
r51925:774c0034 default
parent child Browse files
Show More
@@ -1087,7 +1087,7 b' def resolverevlogstorevfsoptions(ui, req'
1087 1087 # experimental config: format.chunkcachesize
1088 1088 chunkcachesize = ui.configint(b'format', b'chunkcachesize')
1089 1089 if chunkcachesize is not None:
1090 options[b'chunkcachesize'] = chunkcachesize
1090 data_config.chunk_cache_size = chunkcachesize
1091 1091
1092 1092 deltabothparents = ui.configbool(
1093 1093 b'storage', b'revlog.optimize-delta-parent-choice'
@@ -628,8 +628,6 b' class revlog:'
628 628 else:
629 629 new_header = REVLOG_DEFAULT_VERSION
630 630
631 if b'chunkcachesize' in opts:
632 self.data_config.chunk_cache_size = opts[b'chunkcachesize']
633 631 if b'maxchainlen' in opts:
634 632 self.delta_config.max_chain_len = opts[b'maxchainlen']
635 633 if b'deltabothparents' in opts:
General Comments 0
You need to be logged in to leave comments. Login now