refactor: removed redis + new scheduler engine
This commit is contained in:
1 parent
e90873e13d
commit
cd3f88bad0
51 files changed
+253
-423
No files matched your search
@@ -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'))
|
||||
|
||||
|
||||
Reference in new issue
Block a user