mirror of
https://github.com/simon987/od-database.git
synced 2025-12-13 14:59:02 +00:00
Website should stay online even if elasticsearch is down / timing out
This commit is contained in:
@@ -11,9 +11,12 @@
|
||||
{% if stats and stats["total_size"] %}
|
||||
<p class="lead">{{ stats["total_count"] }} files totalling
|
||||
~{{ stats["total_size"] | filesizeformat }} from {{ stats["website_count"] }} websites</p>
|
||||
{% endif %}
|
||||
{% if current_websites %}
|
||||
<p>Currently indexing <code>{{ current_websites }}</code><span class="vim-caret"> </span> </p>
|
||||
{% if current_websites %}
|
||||
<p>Currently indexing <code>{{ current_websites }}</code><span class="vim-caret"> </span> </p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<p class="lead">We're currently experiencing a high volume of traffic. The search function
|
||||
may be unresponsive.</p>
|
||||
{% endif %}
|
||||
<p></p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user