fix getinfo command

This commit is contained in:
Jack Robison 2019-06-26 16:26:05 -04:00
parent 14c1e95841
commit 4b1c7aa6c5
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -286,7 +286,7 @@ class SessionManager:
'errors': sum(s.errors for s in self.sessions),
'groups': len(group_map),
'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(),
'peers': self.peer_mgr.info(),
'requests': sum(s.count_pending_items() for s in self.sessions),