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.
This commit is contained in:
OrbitalCannon
2023-10-16 15:15:10 -07:00
committed by GitHub
parent 5b389bdf23
commit b961506b18

View File

@@ -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: