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:
parent
0aa5362069
commit
d5cf769e8c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user