Skip to content

Commit 3ad926e

Browse files
authored
update frames rate
1 parent c55822b commit 3ad926e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/gear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def addToStream(x):
5050
def shouldTakeFrame(x):
5151
global framesToDrop
5252
framesToDrop += 1
53-
return framesToDrop % 5 == 0
53+
return framesToDrop % 10 == 0
5454

5555
def passAll(x):
5656
redisgears.executeCommand('xadd', 'all', 'MAXLEN', '~', '1000', '*', 'image', 'data:image/jpeg;base64,' + base64.b64encode(x['img']))

0 commit comments

Comments
 (0)