Skip to content

Commit

Permalink
Reduce database related operations
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Dec 21, 2015
1 parent d180801 commit fcb368d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/scala/com/github/shadowsocks/BaseService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ trait BaseService extends Service {
val task = new TimerTask {
def run {
TrafficMonitor.updateRate()
updateTrafficTotal(TrafficMonitor.getDeltaTx, TrafficMonitor.getDeltaRx)
updateTrafficRate(TrafficMonitor.getTxRate, TrafficMonitor.getRxRate,
TrafficMonitor.getTxTotal, TrafficMonitor.getRxTotal)
}
Expand Down

0 comments on commit fcb368d

Please sign in to comment.