Skip to content

Commit

Permalink
remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
paupm committed Sep 13, 2024
1 parent 560af96 commit 873670b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ services:

volumes:
shared_socket:
driver: local
driver: local
16 changes: 11 additions & 5 deletions pkg/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,17 @@ func main() {
panic(err)
}

requestMiddleWareAddress := helpers.GetEnv("REQUEST_MIDDLEWARES_SOCKET", "")
requestMiddleware := middleware.NewMiddlewareManager(msgCh1, msgCh2, requestMiddleWareAddress)

responseMiddleWareAddress := helpers.GetEnv("RESPONSE_MIDDLEWARES_SOCKET", "")
responseMiddleware := middleware.NewMiddlewareManager(ackCh2, ackCh1, responseMiddleWareAddress)
requestMiddleware := middleware.NewMiddlewareManager(
msgCh1,
msgCh2,
helpers.GetEnv("REQUEST_MIDDLEWARES_SOCKET", ""),
)

responseMiddleware := middleware.NewMiddlewareManager(
ackCh2,
ackCh1,
helpers.GetEnv("RESPONSE_MIDDLEWARES_SOCKET", ""),
)

go reader.Start()
go requestMiddleware.Start()
Expand Down

0 comments on commit 873670b

Please sign in to comment.