mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-10 21:48:52 +00:00
Worker cache
This commit is contained in:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user