Work around broken DNS on Android for usage reporting

This commit is contained in:
Jakob Borg
2014-06-12 01:05:00 +02:00
parent 9cd6b85c09
commit 18e5cb6793
3 changed files with 23 additions and 5 deletions

View File

@@ -401,7 +401,10 @@ func main() {
go usageReportingLoop(m)
go func() {
time.Sleep(10 * time.Minute)
sendUsageRport(m)
err := sendUsageReport(m)
if err != nil {
l.Infoln("Usage report:", err)
}
}()
}