##// END OF EJS Templates
vcs: do an early detection of vcs-type request....
vcs: do an early detection of vcs-type request. We we to know to detect vcs type request as early as possible. IF we know we're handling an VCS request, we can skip some of the pylons stack initialization. - This fixes issues with leaking sessions and other object from pylons into a purely VCS type request.

File last commit:

r1282:90601d74 default
r1297:de699d5e default
Show More
settings_supervisor.mako
27 lines | 786 B | application/x-mako | MakoHtmlLexer
%if c.connection_error:
<h4>Cannot connect to supervisor: ${c.connection_error}</h4>
%else:
<table class="rctable supervisor">
<tr>
<th>Name</th>
<th>Description</th>
<th>State</th>
</tr>
% for proc,vals in c.supervisor_procs.items():
<tr>
%if vals.get('_rhodecode_error'):
<td>${proc}</td>
<td>${vals['_rhodecode_error']}</td>
<td></td>
%else:
<td class="td-componentname"><a href="${h.url('admin_settings_supervisor_log', procid=proc, offset=c.log_size)}">${vals['name']}</a></td>
<td class="td-description">${vals['description']}</td>
<td class="td-state">${vals['statename']}</td>
%endif
##<td class="td-action"> start | stop | restart</td>
</tr>
% endfor
</table>
%endif