From 230668e97639e7a63fe801420c201648a96ab1db Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Mon, 19 Jun 2017 12:02:03 +1000 Subject: [PATCH] Fixed remaining issues for tmux-edit templates and re-wrote Backfill All description --- resources/db/patches/mysql/+1~tmux.sql | 1 + resources/db/schema/data/10-tmux.tsv | 1 + www/themes/shared/templates/admin/tmux-edit.tpl | 15 ++++++--------- 3 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 resources/db/patches/mysql/+1~tmux.sql diff --git a/resources/db/patches/mysql/+1~tmux.sql b/resources/db/patches/mysql/+1~tmux.sql new file mode 100644 index 000000000..7fec7926d --- /dev/null +++ b/resources/db/patches/mysql/+1~tmux.sql @@ -0,0 +1 @@ +INSERT IGNORE INTO tmux (setting, value) VALUES ('bins_kill_timer','1'); diff --git a/resources/db/schema/data/10-tmux.tsv b/resources/db/schema/data/10-tmux.tsv index 80a6590c5..7de85e1d6 100755 --- a/resources/db/schema/data/10-tmux.tsv +++ b/resources/db/schema/data/10-tmux.tsv @@ -16,6 +16,7 @@ releases_threaded 0 fix_names 0 seq_timer 30 bins_timer 30 +bins_kill_timer 1 back_timer 30 import_timer 30 rel_timer 30 diff --git a/www/themes/shared/templates/admin/tmux-edit.tpl b/www/themes/shared/templates/admin/tmux-edit.tpl index aee5fabfb..c93d1d769 100644 --- a/www/themes/shared/templates/admin/tmux-edit.tpl +++ b/www/themes/shared/templates/admin/tmux-edit.tpl @@ -192,8 +192,7 @@ - +
The time update_binaries is allowed to run with no updates.Time is in minutes.
@@ -212,17 +211,15 @@       {html_options style="width:180px;" class="siteeditstyle" id="backfill_days" name='backfill_days' values=$backfill_days_ids output=$backfill_days selected=$ftmux->backfill_days}
Choose to run backfill type. Backfill gets from your first_record back.
Disabled - Disables backfill from running.
- Safe - Backfills 1 group by backfill days (set in admin-view groups), using the number of threads - set in admin. This downloads Backfill Quantity times the Backfill Threads, each - loop.
+ Safe - Backfills 1 group by backfill days (set in admin-view groups), using the number of threads set in admin. This downloads Backfill Quantity times the Backfill Threads, each loop.
example: you have Backfill Threads = 10, Backfill Quantity = 20k, Max Messages = 5k: you will run 10 threads, queue of 40 and download 200k headers.
- All - Backfills the number of groups (set in tmux), completely.
+ All - Backfills groups completely. This downloads Backfill Groups (set in tmux) by Backfill Quantity (set in tmux) times the Backfill Threads (set in admin-edit site), each loop.
Newest - Sorts the group selection with the least backfill days backfilled, first.
Oldest - Sorts the group selection with the most backfill days backfilled, first.
Alphabetical - Sorts the group selection from a to z.
- Alphabetical Reverse - Sorts the group selection from z to a.
- Most Posts - Sorts the group selection by the highest number of posts, first.
+ Alphabetical Reverse - Sorts the group selection from z to a.
+ Most Posts - Sorts the group selection by the highest number of posts, first.
Fewest Posts - Sorts the group selection by the lowest number of posts, first.
Backfill days - Days per Group from admin->view group or the Safe Backfill Date from admin->edit group.
@@ -679,7 +676,7 @@ {html_radios id="vnstat" name='vnstat' values=$yesno_ids output=$yesno_names selected=$ftmux->vnstat separator='
'} - +
vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). Any additional arguments should be placed in the