修改日志

This commit is contained in:
xljiulang 2021-06-20 13:40:54 +08:00
parent e75e022928
commit 676586cdca

View File

@ -54,7 +54,8 @@ namespace FastGithub.Scanner
public override string ToString()
{
return $"{this.Domain} {{Address={this.Address}, AvailableRate={this.History.AvailableRate}, AvgElapsed={this.History.AvgElapsed}}}";
var rate = Math.Round(this.History.AvailableRate * 100, 2);
return $"{this.Domain} {{Address={this.Address}, AvailableRate={rate}%, AvgElapsed={this.History.AvgElapsed.TotalSeconds}s}}";
}
}
}