Further work on controlling the portal with AMP
This commit is contained in:
parent
c46d181566
commit
ff887a07ab
5 changed files with 113 additions and 58 deletions
|
|
@ -105,6 +105,8 @@ class Portal(object):
|
|||
self.amp_protocol = None # set by amp factory
|
||||
self.sessions = PORTAL_SESSIONS
|
||||
self.sessions.portal = self
|
||||
self.process_id = os.getpid()
|
||||
self.server_process_id = None
|
||||
|
||||
# set a callback if the server is killed abruptly,
|
||||
# by Ctrl-C, reboot etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue