no traffic update
rchen9012 opened this issue · 5 comments
everything works but no traffic update to database table
Could you please provide more details?
You may also try shadowsocks-hub https://github.com/shadowsocks/shadowsocks-hub.git. It has web ui that can display traffic chart.
fixed the shadowsocks-rest-api bug.
sorry for late reply. I want to take more time to test the fix. It's confirm working. can you please explain when the traffic request is sent to shadowshocks-rest-api? I noticed if not traffic, database will not get updated. only update when traffic goes through vpn. Also "lastmetterreading" is the same as "usage" if so why need both fields?
Thanks for the confirmation. It's good to know it's working as expected.
Traffic request is sent to shadowsocks-rest-api periodically. But the database will be updated only if there is new traffic (preventing saving duplicate traffic data).
lastmaterreading
is not always the same as the usage
, bug very often they would be the same...