Skip to content
Snippets Groups Projects
Commit 093dec2a authored by Stéphane Wirtel's avatar Stéphane Wirtel
Browse files

[FIX] Add the platform lib

[IMP] Log when the Long Polling Service is running

bzr revid: stw@openerp.com-20130909131024-23an5cvt1qaa90su
parent 025616ee
Branches
Tags
No related merge requests found
......@@ -18,6 +18,7 @@ import time
import traceback
import subprocess
import os.path
import platform
import wsgi_server
......@@ -245,6 +246,7 @@ class GeventServer(CommonServer):
from gevent.wsgi import WSGIServer
gevent.spawn(self.watch_parent)
self.httpd = WSGIServer((self.interface, self.port), self.app)
_logger.info('Evented Service (longpolling) running on %s:%s', self.interface, self.port)
self.httpd.serve_forever()
def stop(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment