Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small changes to Badger code. Logicwise NOOP. #1

Merged
merged 2 commits into from
Sep 5, 2017

Conversation

manishrjain
Copy link
Contributor

No description provided.

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

LGTM (after removing the commented code). Thanks!

datastore.go Outdated
@@ -21,6 +20,7 @@ func NewDatastore(path string, opt *badger.Options) (*datastore, error) {
}
opt.Dir = path
opt.ValueDir = path
// opt.SyncWrites = true // default is false.
Copy link
Member

Choose a reason for hiding this comment

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

We'll probably set this in IPFS when we construct the datastore (so we can disable it).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Member

@magik6k magik6k left a comment

Choose a reason for hiding this comment

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

LGTM assuming the tests pass

@magik6k magik6k merged commit 9dc2657 into ipfs:master Sep 5, 2017
Stebalien pushed a commit that referenced this pull request Jul 28, 2018
exported type datastore => Datastore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants