Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

DB directory versioning #358

Merged
merged 1 commit into from Feb 5, 2016
Merged

DB directory versioning #358

merged 1 commit into from Feb 5, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Feb 5, 2016

No description provided.

@arkpar arkpar added the A0-pleasereview 🤓 Pull request needs code review. label Feb 5, 2016
let gb = spec.genesis_block();
let chain = Arc::new(RwLock::new(BlockChain::new(&gb, path)));
let mut opts = Options::new();
opts.set_max_open_files(256);
opts.create_if_missing(true);
opts.set_use_fsync(false);
opts.set_compaction_style(DBCompactionStyle::DBUniversalCompaction);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be faster for our workload

@gavofyork gavofyork added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 5, 2016
gavofyork pushed a commit that referenced this pull request Feb 5, 2016
DB directory versioning
@gavofyork gavofyork merged commit 00b781f into master Feb 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants