We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61944c4 commit ac16f66Copy full SHA for ac16f66
docker/docker-compose.yml
@@ -17,5 +17,5 @@ services:
17
restart: always
18
ports:
19
- "8080:8080"
20
- image: shusson/variantstore:1.4
+ image: shusson/variantstore:1.5
21
entrypoint: 'go-wrapper run -d "${MYSQL_ROOT_USER}:${MYSQL_ROOT_PASSWORD}@tcp(db:${MYSQL_ROOT_PORT})/variants"'
variantstore.go
@@ -90,6 +90,7 @@ func main() {
90
})
91
check(err)
92
fmt.Println("Connected to mysql server")
93
+ db.SetConnMaxLifetime(10 * time.Second)
94
if connectionCheck {
95
return
96
}
0 commit comments