Skip to content

Commit b2dc512

Browse files
Remove stale code
1 parent 23c772f commit b2dc512

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

lib/conf/conf.go

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,13 @@ type SSOConfig struct {
1818
SelfSigned bool `json:"selfSigned,omitempty"`
1919
}
2020

21-
type DBReconnectConfig struct {
22-
// The interval between liveness pings to the database.
23-
LivenessPingIntervalSeconds int `json:"livenessPingIntervalSeconds"`
24-
// The interval between reconnection attempts on connection loss.
25-
RetryIntervalSeconds int `json:"retryIntervalSeconds"`
26-
// The maximum number of reconnection attempts on connection loss before panic.
27-
MaxRetries int `json:"maxRetries"`
28-
}
29-
3021
// Database configuration.
3122
type DBConfig struct {
32-
Host string `json:"host"`
33-
Port int `json:"port"`
34-
Database string `json:"database"`
35-
User string `json:"user"`
36-
Password string `json:"password"`
37-
Reconnect DBReconnectConfig `json:"reconnect"`
23+
Host string `json:"host"`
24+
Port int `json:"port"`
25+
Database string `json:"database"`
26+
User string `json:"user"`
27+
Password string `json:"password"`
3828
}
3929

4030
// Configuration for the monitoring module.

0 commit comments

Comments
 (0)