mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
initialize CacheService
This commit is contained in:
parent
f083c2cd57
commit
3819fb3101
@ -12,6 +12,7 @@ import { User, Session, Config } from "@models"
|
||||
|
||||
import DbManager from "@classes/DbManager"
|
||||
import { createStorageClientInstance } from "@classes/StorageClient"
|
||||
import CacheService from "@classes/CacheService"
|
||||
|
||||
import internalEvents from "./events"
|
||||
|
||||
@ -41,6 +42,8 @@ export default class API {
|
||||
},
|
||||
)
|
||||
|
||||
cacheService = global.cacheService = new CacheService()
|
||||
|
||||
DB = new DbManager()
|
||||
|
||||
eventBus = global.eventBus = new EventEmitter()
|
||||
|
Loading…
x
Reference in New Issue
Block a user