-
Notifications
You must be signed in to change notification settings - Fork 35
[WIP] feat: traffic stats collection (Issue #3088) #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
there is a "}" missed |
|
Thanks for the review. I've fixed the missing brace }. I also fixed the traffic calculation logic:
Regarding GXS Service: I focused on the main synchronous traffic stats (Peers + Turtle) for now to fix the reported issues |
|
But I tested it let’s freeze retroshare when get connected to a friend |
|
When is the traffic calculation by Service done? |
|
|
Please update your libretroshare of this Pr to the latest master lib & gui does not match. |
|
your code lets freeze rs, no chance i wasnt able to open stats it has nothing todo with the stats window |
|
If it freezes, look for a deadlock. callstack of different threads in gdb will tell you. As a first guess, go to the frozen thread and climb up the callstack to see if the same mutex is already taken by that thread. |
|
@JohannesKleine you can test this? & debug |
Implements traffic stats collection logic for RetroShare Issue #3088. This adds total in/out counters to RsConfigDataRates and the corresponding retrieval methods.