##// END OF EJS Templates
diffs: use whole chunk diff to calculate if it's oversized or not....
diffs: use whole chunk diff to calculate if it's oversized or not. - This fixes an issue if a file is added that has very large number of small lines. In this case the time to detect if the diff should be limited was very very long and CPU intensive.

File last commit:

r1282:90601d74 default
r2070:7939c6bf default
Show More
settings_supervisor.mako
27 lines | 786 B | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 %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