Commit a89d0806 authored by Max Lv's avatar Max Lv

tune the interval

parent 19e93966
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment