diff --git a/dist/autoloader.js b/dist/autoloader.js index 3c9d29f..7bafd96 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Dec 03 2018 12:00:44 GMT+0100 (CET)*/ +/*Generated on:Mon Dec 03 2018 14:00:09 GMT+0100 (CET)*/ var AutomaticDispose_Branch = "master"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var da_lss_adis_time = new Date().getTime(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index 5147257..95af069 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Mon Dec 03 2018 12:00:44 GMT+0100 (CET)*/ +/*Generated on:Mon Dec 03 2018 14:00:09 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -18648,7 +18648,8 @@ class AutomaticDispose { done: 'false' }).and(function (item) { return item.next_check <= Math.floor(new Date().getTime() / 1000) - }).limit(1) + }).reverse() + .sortBy('next_check').limit(1) } }).then((Wunsch) => { // console.table(Wunsch); diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index 53ecfd3..549ef23 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -1056,7 +1056,8 @@ class AutomaticDispose { done: 'false' }).and(function (item) { return item.next_check <= Math.floor(new Date().getTime() / 1000) - }).limit(1) + }).reverse() + .sortBy('next_check').limit(1) } }).then((Wunsch) => { // console.table(Wunsch);