From 6df589facf01b2d3556a6516447fa37ef21ab7c9 Mon Sep 17 00:00:00 2001 From: icylogic Date: Mon, 18 Jan 2016 16:42:33 +0800 Subject: [PATCH] fix error caused by type migration --- .../Controller/Service/AvailabilityStatistics.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs b/shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs index 3039a9a..d5a2efe 100644 --- a/shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs +++ b/shadowsocks-csharp/Controller/Service/AvailabilityStatistics.cs @@ -285,8 +285,8 @@ namespace Shadowsocks.Controller { Logging.LogUsefulException(e); } - if (!File.Exists(path)) { - Console.WriteLine($"statistics file does not exist, try to reload {RetryInterval / 60 / 1000} minutes later"); + if (!File.Exists(path)) { + Console.WriteLine($"statistics file does not exist, try to reload {RetryInterval.TotalMinutes} minutes later"); _timer.Change(RetryInterval, Interval); return; }