lab2: fix review — cache consistency, readiness, timeouts, uuid validation, tuple index
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ func main() {
|
||||
msgSvc := service.NewMessageService(msgRepo, chatRepo, msgCache)
|
||||
authSvc := service.NewAuthService(userRepo, sessRepo, cfg.SessionTTL())
|
||||
|
||||
router := transporthttp.NewRouter(userSvc, chatSvc, msgSvc, authSvc)
|
||||
router := transporthttp.NewRouter(userSvc, chatSvc, msgSvc, authSvc, pool, redisClient)
|
||||
|
||||
srv := &http.Server{
|
||||
Addr: cfg.Addr(),
|
||||
|
||||
Reference in New Issue
Block a user