Skip to content

Commit 2fad5ea

Browse files
committed
feat: no add transmission config
1 parent 3c7d7aa commit 2fad5ea

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

db/db.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ func (c *client) init() {
6868
log.Infof("set default log level")
6969
c.SetSetting(SettingLogLevel, "info")
7070
}
71-
if tr := c.GetAllDonloadClients(); len(tr) == 0 {
72-
log.Warnf("no download client, set default download client")
73-
c.SaveDownloader(&ent.DownloadClients{
74-
Name: "transmission",
75-
Implementation: downloadclients.ImplementationTransmission,
76-
URL: "http://transmission:9091",
77-
})
78-
}
71+
// if tr := c.GetAllDonloadClients(); len(tr) == 0 {
72+
// log.Warnf("no download client, set default download client")
73+
// c.SaveDownloader(&ent.DownloadClients{
74+
// Name: "transmission",
75+
// Implementation: downloadclients.ImplementationTransmission,
76+
// URL: "http://transmission:9091",
77+
// })
78+
// }
7979
}
8080

8181
func (c *client) generateJwtSerectIfNotExist() {

0 commit comments

Comments
 (0)