Initial torrent inactivity purging

This commit is contained in:
Justin Li
2014-07-16 13:24:44 -04:00
parent 7636608725
commit ea72e9e10c
4 changed files with 72 additions and 0 deletions

View File

@@ -31,6 +31,11 @@ func NewTracker(cfg *config.Config) (*Tracker, error) {
return nil, err
}
err = tracker.StartPurgingRoutines(tp, &cfg.Tracker)
if err != nil {
return nil, err
}
bc, err := backend.Open(&cfg.Backend)
if err != nil {
return nil, err