Added log for timeout

This commit is contained in:
Thomas FORGIONE
2015-10-05 10:11:59 +02:00
parent 5006d1d71d
commit b5aa62cb93
2 changed files with 4 additions and 3 deletions

View File

@@ -1064,6 +1064,7 @@ DBReq.LastExpGetter.prototype.execute = function() {
Log.dberror(err + ' in LastExpGetter (DBReq)');
}
if (result.rows.length === 0) {
Log.debug('Timeout', true);
setTimeout(function() {
self.execute();
}, 1000);