From 776d2ddddb9a366dbd682036a8000769cfe44372 Mon Sep 17 00:00:00 2001 From: belikor Date: Sun, 23 Oct 2022 12:12:36 -0500 Subject: [PATCH] pages: increase upper limit of the spinboxes to choose threads Various interfaces call methods with threads to speed up search or resolution of claims: - SubscribedChsPage, list subscribed channels and their latest claims - ListChPeersPage, number of peers for the claims of a single channel - ListChsPeersPage, number of peers for the claims of various channels - ListSubsPeersPage, number of peers for the claims of our subscribed channels - SupportListPage, claims supported with LBC --- lbseed/pages_lists.py | 2 +- lbseed/pages_peers.py | 10 +++++----- lbseed/pages_support.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lbseed/pages_lists.py b/lbseed/pages_lists.py index f0641f1..39c4c52 100644 --- a/lbseed/pages_lists.py +++ b/lbseed/pages_lists.py @@ -377,7 +377,7 @@ def setup_grid_rad_ch_subs(self, parent, start=0): def setup_grid_spin_subs(self, parent, start=0): blocks.setup_spin_gen(parent, - frm=0, to=256, incr=1, + frm=0, to=512, incr=1, default=32, s_text_var=self.spin_subs_threads, s_command=self.list_subscr_chs, diff --git a/lbseed/pages_peers.py b/lbseed/pages_peers.py index 1484066..054ff24 100644 --- a/lbseed/pages_peers.py +++ b/lbseed/pages_peers.py @@ -95,7 +95,7 @@ def setup_grid_top_ch_peers(self, parent, start=0): start=start+3) blocks.setup_spin_gen(parent, - frm=0, to=256, incr=1, + frm=0, to=512, incr=1, default=32, s_text_var=self.spin_ch_peers_threads, s_command=self.list_ch_peers, @@ -190,7 +190,7 @@ def setup_grid_top_chs_peers(self, parent, start=0): start=start+2) blocks.setup_spin_gen(parent, - frm=0, to=256, incr=1, + frm=0, to=512, incr=1, default=16, s_text_var=self.spin_chs_ch_threads, s_command=self.list_chs_peers, @@ -200,7 +200,7 @@ def setup_grid_top_chs_peers(self, parent, start=0): start=start+3) blocks.setup_spin_gen(parent, - frm=0, to=256, incr=1, + frm=0, to=512, incr=1, default=32, s_text_var=self.spin_chs_cl_threads, s_command=self.list_chs_peers, @@ -275,7 +275,7 @@ def setup_grid_top_subs_peers(self, parent, start=0): start=start+1) blocks.setup_spin_gen(parent, - frm=0, to=256, incr=1, + frm=0, to=512, incr=1, default=32, s_text_var=self.spin_subs_ch_threads, s_command=self.list_subs_peers, @@ -285,7 +285,7 @@ def setup_grid_top_subs_peers(self, parent, start=0): start=start+2) blocks.setup_spin_gen(parent, - frm=0, to=256, incr=1, + frm=0, to=512, incr=1, default=16, s_text_var=self.spin_subs_cl_threads, s_command=self.list_subs_peers, diff --git a/lbseed/pages_support.py b/lbseed/pages_support.py index 89b6662..1ced867 100644 --- a/lbseed/pages_support.py +++ b/lbseed/pages_support.py @@ -79,7 +79,7 @@ def setup_grid_check_support(self, parent, start=0): def setup_grid_threads_support(self, parent, start=0): blocks.setup_spin_gen(parent, - frm=0, to=256, incr=1, + frm=0, to=512, incr=1, default=32, s_text_var=self.spin_s_threads, s_command=self.list_supports,