GithubHelp home page GithubHelp logo

Comments (6)

Guccen avatar Guccen commented on May 30, 2024

好像是upload和download写反了?
我下载100M文件变上传100M了?
[INFO] 2020/03/21 19:54:06 user 4b519de92abd521293eaa7cc0a8aedff6eb1c9a6ecc5883d29dd2eac conn to speed.hetzner.de:80 closed up: 100.00 MiB down: 427 B

from trojan-go.

p4gefau1t avatar p4gefau1t commented on May 30, 2024

这个up和down我实现的时候是相对本地来说的
上传对应出站流量,下载对应入站流量
如果原版是反过来的话,我在下一个版本把它反过来

from trojan-go.

Guccen avatar Guccen commented on May 30, 2024

原版是相反的 希望能反过来吧 便于统计 谢谢

from trojan-go.

p4gefau1t avatar p4gefau1t commented on May 30, 2024

好的,users表的确应该存储用户的上传和下载统计,而不是服务器的

from trojan-go.

Guccen avatar Guccen commented on May 30, 2024

是的 我这边对接的面板数据库 其实影响也不大 就是个统计问题

from trojan-go.

p4gefau1t avatar p4gefau1t commented on May 30, 2024

已经把日志显示换成发送和接受避免歧义,数据库的上传和下载现在是相对用户来说的了

from trojan-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.