mirror of
https://github.com/simon987/od-database.git
synced 2025-12-13 14:59:02 +00:00
Added API commands
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<p class="lead">{{ stats["total_count"] }} files totalling
|
||||
~{{ stats["total_size"] | filesizeformat }} from {{ stats["website_count"] }} websites</p>
|
||||
{% else %}
|
||||
<p class="lead">We're currently experiencing a high volume of traffic. The search function
|
||||
<p class="lead">We are currently experiencing a high volume of traffic. The search function
|
||||
may be unresponsive.</p>
|
||||
{% endif %}
|
||||
<p></p>
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<tr>
|
||||
<th>Crawl time average</th>
|
||||
{% for server in crawl_server_stats %}
|
||||
<td>{{ crawl_server_stats[server].time_avg|round(2) }}s per task</td>
|
||||
<td>{{ crawl_server_stats[server].time_avg|round(2) }}s</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -108,7 +108,7 @@
|
||||
<tr>
|
||||
<th>Files crawled average</th>
|
||||
{% for server in crawl_server_stats %}
|
||||
<td>{{ crawl_server_stats[server].file_count_avg | round(2) }} per task</td>
|
||||
<td>{{ crawl_server_stats[server].file_count_avg | round(2) }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user