Skip to content

Commit

Permalink
docs: add code description
Browse files Browse the repository at this point in the history
  • Loading branch information
colin404 committed Dec 18, 2021
1 parent 47175e0 commit bd8f750
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/pump/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type preparedPumpServer struct {
}

func createPumpServer(cfg *config.Config) (*pumpServer, error) {
// use the same redis database with authorization log history
client := goredislib.NewClient(&goredislib.Options{
Addr: fmt.Sprintf("%s:%d", cfg.RedisOptions.Host, cfg.RedisOptions.Port),
Username: cfg.RedisOptions.Username,
Expand Down

0 comments on commit bd8f750

Please sign in to comment.