Skip to content

Commit

Permalink
pages: increase upper limit of the spinboxes to choose threads
Browse files Browse the repository at this point in the history
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
  • Loading branch information
belikor committed Oct 23, 2022
1 parent 2254a13 commit 776d2dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lbseed/pages_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 5 additions & 5 deletions lbseed/pages_peers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lbseed/pages_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 776d2dd

Please sign in to comment.