Change QuickSync wording
This commit is contained in:
parent
e5a1a64110
commit
4879784348
|
@ -278,7 +278,7 @@ if [ ! -f /mnt/hdd/mynode/settings/.setquicksyncdefault ]; then
|
|||
fi
|
||||
# Default small drives to no QuickSync
|
||||
DRIVE_SIZE=$(df /mnt/hdd | grep /dev | awk '{print $2}')
|
||||
if (( ${DRIVE_SIZE} <= 800000000 )); then
|
||||
if (( ${DRIVE_SIZE} <= 900000000 )); then
|
||||
touch /mnt/hdd/mynode/settings/quicksync_disabled
|
||||
fi
|
||||
touch /mnt/hdd/mynode/settings/.setquicksyncdefault
|
||||
|
|
|
@ -537,6 +537,7 @@ def index():
|
|||
"sd_rw_error": has_sd_rw_error(),
|
||||
"drive_usage": drive_usage,
|
||||
"low_drive_space_error": low_drive_space_error,
|
||||
"is_quicksync_disabled": not is_quicksync_enabled(),
|
||||
"cpu_usage": get_cpu_usage(),
|
||||
"ram_usage": get_ram_usage(),
|
||||
"swap_usage": get_swap_usage(),
|
||||
|
|
|
@ -20,7 +20,9 @@
|
|||
<div class="main_page_error_block">
|
||||
<center>
|
||||
<p>Your drive is {{drive_usage}} full and free space is running very low. You may need to upgrade to a larger drive.</p>
|
||||
<p>If QuickSync is enabled, try <a href="/settings#quicksync">disabling</a> it to save some space.</p>
|
||||
{% if not is_quicksync_disabled %}
|
||||
<p>QuickSync is enabled! Disable <a href="/settings#quicksync">QuickSync</a> to save significant disk space.</p>
|
||||
{% endif %}
|
||||
<p>To migrate to a larger drive, try the <a href="/settings#clone_tool">Clone Tool</a>.</p>
|
||||
</center>
|
||||
</div>
|
||||
|
|
|
@ -664,9 +664,7 @@
|
|||
<br/>
|
||||
<a href="/settings/toggle-quicksync" class="ui-button ui-widget ui-corner-all settings_button">Enable QuickSync</a>
|
||||
{% else %}
|
||||
Disabling QuickSync will remove the QuickSync files and stop the process.
|
||||
<br/>
|
||||
This may take a long time if Bitcoin is not already synced, but you can re-enable QuickSync later.
|
||||
Disabling QuickSync will remove the QuickSync files and stop the process. This may save significant disk space.
|
||||
<br/>
|
||||
<a href="/settings/toggle-quicksync" class="ui-button ui-widget ui-corner-all settings_button">Disable QuickSync</a>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user