Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

[WIP] Include responseTime and reputation if available #756

Closed
wants to merge 1 commit into from

Conversation

braydonf
Copy link
Contributor

@braydonf braydonf commented Jan 3, 2018

This is a quick fix until we deal with the high levels of software entropy that has accumulated.

There are two models for a "Contact" one that exists here in lib/network/contact, and another one is lib/models/contact of MongoDB models. The two come into confusion at: https://github.com/Storj/service-storage-models/blob/master/lib/models/contact.js#L90 where this one is passed into the MongoDB models version, which often lacks all the properties, making it near impossible to set a default value, without inadvertently reseting the value.

@braydonf
Copy link
Contributor Author

braydonf commented Jan 3, 2018

Closing, I have a better idea to solve this issue.

@braydonf braydonf closed this Jan 3, 2018
@braydonf
Copy link
Contributor Author

braydonf commented Jan 3, 2018

New solution: storj-archived/bridge#554

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant