Add temporary debug logging for #344 (revert later)

This commit is contained in:
Jakob Borg
2014-07-01 13:22:45 +02:00
parent 7ac00e189b
commit 5353659f9f
3 changed files with 59 additions and 0 deletions

View File

@@ -98,6 +98,9 @@ func NewModel(indexDir string, cfg *config.Configuration, clientName, clientVers
sup: suppressor{threshold: int64(cfg.Options.MaxChangeKbps)},
}
// TEMP: #344
files.SetCM(m.cm)
var timeout = 20 * 60 // seconds
if t := os.Getenv("STDEADLOCKTIMEOUT"); len(t) > 0 {
it, err := strconv.Atoi(t)