tune the interval

This commit is contained in:
Max Lv
2013-06-07 16:57:56 +08:00
parent 19e93966c5
commit a89d080642
@@ -121,7 +121,7 @@ class ShadowsocksService extends Service {
private var last = new TrafficStat(TrafficStats.getTotalTxBytes,
TrafficStats.getTotalRxBytes, java.lang.System.currentTimeMillis())
private val timer = new Timer(true)
private val TIMER_INTERVAL = 10
private val TIMER_INTERVAL = 5
private def changeState(s: Int) {
if (state != s) {