performance update

This commit is contained in:
Senad Uka
2016-02-28 11:19:18 +01:00
parent 7984783cdf
commit 6ea9933d60
2 changed files with 4 additions and 2 deletions

View File

@@ -5,7 +5,8 @@ function sensor_data_collection() {
}, {
sort: {
created_at: -1
}
},
limit: 100
});
}

View File

@@ -20,7 +20,8 @@ function sensor_data_collection() {
}, {
sort: {
created_at: -1
}
},
limit: 1
});
}