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

Commit

Permalink
Merge pull request #135 from braydonf/master
Browse files Browse the repository at this point in the history
Update contact index
  • Loading branch information
pgerbes1 committed Oct 12, 2017
2 parents fe8a62b + 4510119 commit 4cdd0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var ContactSchema = new mongoose.Schema({
ContactSchema.plugin(SchemaOptions);

ContactSchema.index({lastSeen: 1});
ContactSchema.index({responseTime:1,spaceAvailable:1,lastContractSent:1});
ContactSchema.index({responseTime:1,spaceAvailable:1,_id:-1});
ContactSchema.index({reputation:1});
ContactSchema.index({address:1});

Expand Down

0 comments on commit 4cdd0f6

Please sign in to comment.