fix getinfo command
This commit is contained in:
parent
14c1e95841
commit
4b1c7aa6c5
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ class SessionManager:
|
||||||
'errors': sum(s.errors for s in self.sessions),
|
'errors': sum(s.errors for s in self.sessions),
|
||||||
'groups': len(group_map),
|
'groups': len(group_map),
|
||||||
'logged': len([s for s in self.sessions if s.log_me]),
|
'logged': len([s for s in self.sessions if s.log_me]),
|
||||||
'paused': sum(not s.can_send.is_set() for s in self.sessions),
|
'paused': sum(not s._can_send.is_set() for s in self.sessions),
|
||||||
'pid': os.getpid(),
|
'pid': os.getpid(),
|
||||||
'peers': self.peer_mgr.info(),
|
'peers': self.peer_mgr.info(),
|
||||||
'requests': sum(s.count_pending_items() for s in self.sessions),
|
'requests': sum(s.count_pending_items() for s in self.sessions),
|
||||||
|
|
Loading…
Reference in a new issue