mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
removed timing
This commit is contained in:
@@ -42,7 +42,6 @@ module.exports = function(Topics) {
|
||||
};
|
||||
|
||||
Topics.addPostData = function(postData, uid, callback) {
|
||||
var st = process.hrtime();
|
||||
var pids = postData.map(function(post) {
|
||||
return post.pid;
|
||||
});
|
||||
@@ -119,7 +118,7 @@ module.exports = function(Topics) {
|
||||
postData[i].content = '[[topic:post_is_deleted]]';
|
||||
}
|
||||
}
|
||||
process.profile('derp', st);
|
||||
|
||||
callback(null, postData);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user