From b961506b183f45117fe11549cfbd9cd9785b91ca Mon Sep 17 00:00:00 2001 From: OrbitalCannon <60664027+OrbitalCannon@users.noreply.github.com> Date: Mon, 16 Oct 2023 15:15:10 -0700 Subject: [PATCH] Update Twitch.py streak time to 1 Catching streaks was causing #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. --- TwitchChannelPointsMiner/classes/Twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TwitchChannelPointsMiner/classes/Twitch.py b/TwitchChannelPointsMiner/classes/Twitch.py index 1d7b1f4..bad92f7 100644 --- a/TwitchChannelPointsMiner/classes/Twitch.py +++ b/TwitchChannelPointsMiner/classes/Twitch.py @@ -433,7 +433,7 @@ class Twitch(object): ) > 30 ) - and streamers[index].stream.minute_watched < 7 + and streamers[index].stream.minute_watched < 1 ): streamers_watching.append(index) if len(streamers_watching) == 2: