Skip to content

Commit

Permalink
Update Twitch.py streak time to 1
Browse files Browse the repository at this point in the history
Catching streaks was causing rdavydov#284 to stall out and constantly try to catch streaks. In my testing streaks take less than 1 minute to catch. Reducing from 7 mins to 1 allows the miner to be more efficient about switching back to what it was doing prior to catching the streak.
  • Loading branch information
OrbitalCannon authored Oct 16, 2023
1 parent 5ea5cec commit 55a0e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwitchChannelPointsMiner/classes/Twitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def send_minute_watched_events(self, streamers, priority, chunk_size=3):
)
> 30
)
and streamers[index].stream.minute_watched < 7
and streamers[index].stream.minute_watched < 1
):
streamers_watching.append(index)
if len(streamers_watching) == 2:
Expand Down

0 comments on commit 55a0e7c

Please sign in to comment.