##// END OF EJS Templates
http: status will return PID to help check stuck workers.
marcink -
r372:2560c64d default
parent child Browse files
Show More
@@ -15,6 +15,7 b''
15 # along with this program; if not, write to the Free Software Foundation,
15 # along with this program; if not, write to the Free Software Foundation,
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
17
18 import os
18 import base64
19 import base64
19 import locale
20 import locale
20 import logging
21 import logging
@@ -276,7 +277,8 b' class HTTPApplication(object):'
276
277
277 def status_view(self, request):
278 def status_view(self, request):
278 import vcsserver
279 import vcsserver
279 return {'status': 'OK', 'vcsserver_version': vcsserver.__version__}
280 return {'status': 'OK', 'vcsserver_version': vcsserver.__version__,
281 'pid': os.getpid()}
280
282
281 def service_view(self, request):
283 def service_view(self, request):
282 import vcsserver
284 import vcsserver
General Comments 0
You need to be logged in to leave comments. Login now