Worker cache

This commit is contained in:
simon987
2019-02-19 21:38:20 -05:00
parent f235bfb588
commit 49ccf60c2e
5 changed files with 21 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ func (api *WebAPI) setupMonitoring() {
func New() *WebAPI {
api := new(WebAPI)
api.Database = &storage.Database{}
api.Database = storage.New()
api.setupMonitoring()
api.router = &fasthttprouter.Router{}