Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Commit 66e7131

Browse files
committed
Removed unecessary logic
1 parent efb2556 commit 66e7131

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/cache.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ def next(self):
5757

5858
def mainloop(self, queue):
5959
while True:
60-
if not queue.full():
61-
queue.put(self.get_profile())
60+
queue.put(self.get_profile())
6261
time.sleep(self.ratelimit)
6362

6463
def start(self):

src/front.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def process_image(image: bytes, width: int, height: int):
1515

1616
class Front(widget.PrimaryFrame):
1717

18-
cachesize = 10
18+
cachesize = 20
1919

2020
# Quick fix to keep a reference count on the
2121
# last image, making sure the garbage collector

0 commit comments

Comments
 (0)