refactor: removed redis + new scheduler engine

This commit is contained in:
Nick committed 2019-02-13 17:21:18 -05:00
1 parent e90873e13d
commit cd3f88bad0
51 files changed
+253 -423

No files matched your search

-9
View File
@@ -15,15 +15,6 @@ module.exports = {
minimumNodeRequired: '10.12.0'
},
init() {
// Listen for updates events
WIKI.events.on('updates', (infoRaw) => {
try {
this.updates = JSON.parse(infoRaw)
} catch (err) {
WIKI.logger.warn('Failed to parse updates info.')
}
})
// Clear content cache
fs.emptyDir(path.join(WIKI.ROOTPATH, 'data/cache'))