Default to archive mode.

This commit is contained in:
Gav Wood 2016-05-19 10:03:45 +02:00
parent 0ac41975a4
commit 306315e3e5

View File

@ -225,7 +225,7 @@ impl Configuration {
"light" => journaldb::Algorithm::EarlyMerge,
"fast" => journaldb::Algorithm::OverlayRecent,
"basic" => journaldb::Algorithm::RefCounted,
"auto" => self.find_best_db(spec).unwrap_or(journaldb::Algorithm::OverlayRecent),
"auto" => self.find_best_db(spec).unwrap_or(journaldb::Algorithm::Archive),
_ => { die!("Invalid pruning method given."); }
};