@@ -521,7 +521,7 @@ pub fn default_opts() -> Opts {
521521 userscripts : None ,
522522 user_stylesheets : Vec :: new ( ) ,
523523 output_file : None ,
524- max_session_history : 256 ,
524+ max_session_history : 16 ,
525525 replace_surrogates : false ,
526526 gc_profile : false ,
527527 load_webfonts_synchronously : false ,
@@ -615,7 +615,7 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
615615 "Probability of randomly closing a pipeline (for testing constellation hardening)." ,
616616 "0.0" ) ;
617617 opts. optopt ( "" , "random-pipeline-closure-seed" , "A fixed seed for repeatbility of random pipeline closure." , "" ) ;
618- opts. optopt ( "" , "max-session-history" , "Maximum amount of session history to store in each tab." , "256 " ) ;
618+ opts. optopt ( "" , "max-session-history" , "Maximum amount of session history to store in each tab." , "16 " ) ;
619619 opts. optmulti ( "Z" , "debug" ,
620620 "A comma-separated string of debug options. Pass help to show available options." , "" ) ;
621621 opts. optflag ( "h" , "help" , "Print this message" ) ;
@@ -786,7 +786,7 @@ pub fn from_cmdline_args(args: &[String]) -> ArgumentParsingResult {
786786
787787 let max_session_history = opt_match. opt_str ( "max-session-history" ) . map ( |max| {
788788 max. parse ( ) . unwrap_or_else ( |err| args_fail ( & format ! ( "Error parsing option: --max-session-history ({})" , err) ) )
789- } ) . unwrap_or ( 256 ) ;
789+ } ) . unwrap_or ( 16 ) ;
790790
791791 if opt_match. opt_present ( "M" ) {
792792 MULTIPROCESS . store ( true , Ordering :: SeqCst )
0 commit comments