Reverse sort order to see if it speeds up processing of more recent items first

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2018-09-09 21:27:38 -07:00
parent 0aa5362069
commit d5cf769e8c

View File

@ -302,7 +302,7 @@ function triggerWatcher() {
/* Sort to newest files to be processed first */
processing.sort(function(a, b) {
return a[2] - b[2];
return b[2] - a[2];
});
return Promise.map(processing, function(entry) {