python multiprocessing server connections
I wish to get a list of connections to a manager. I can get last_accepted fr开发者_运维技巧om the servers' listener, but I want all connections. There HAS to be a method I am missing somewhere to return all connections to a server or manager Please help!!
Looking at multiprocessing/connection.py
, the listener just doesn't seem to track all connections -- you could, however, subclass it and override accept
to append accepted connections to a list.
精彩评论