Skip to content

Commit

Permalink
redis password on worker
Browse files Browse the repository at this point in the history
  • Loading branch information
henrod committed Nov 2, 2018
1 parent e201599 commit 9c95da7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ func NewWorker(config *config.Config) (*Worker, error) {
}

workers.Configure(map[string]string{
"server": config.GetString("pitaya.worker.redis.url"),
"pool": config.GetString("pitaya.worker.redis.pool"),
"process": hostname,
"server": config.GetString("pitaya.worker.redis.url"),
"pool": config.GetString("pitaya.worker.redis.pool"),
"password": config.GetString("pitaya.worker.redis.password"),
"process": hostname,
})

return &Worker{
Expand Down

0 comments on commit 9c95da7

Please sign in to comment.