summaryrefslogtreecommitdiff
path: root/followalert.rb
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2016-04-08 15:56:38 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2016-04-08 15:56:38 -0700
commitf86d3c75c10b312508e9e2677e7ffa456109751e (patch)
tree345152f7f650f21e63f07ccca31cd1711d1cea02 /followalert.rb
parentb4fd5db5f0829c1bcdafa45c92301544c5620e8f (diff)
downloadtwitchtools-f86d3c75c10b312508e9e2677e7ffa456109751e.tar.gz
twitchtools-f86d3c75c10b312508e9e2677e7ffa456109751e.zip
followalert: Lower offset to smooth out inconsistencies on sequential "follows" reads.
Kraken's returned data is a little unstable during updates; sequential offset reads are not necessarily looking at the same data set and wind up with small inconsistencies. This might break if five new follows occur in the second it takes to do two sequential reads, but I doubt that will be a problem for me any time soon.
Diffstat (limited to 'followalert.rb')
-rwxr-xr-xfollowalert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/followalert.rb b/followalert.rb
index 5315d9c..61caba1 100755
--- a/followalert.rb
+++ b/followalert.rb
@@ -77,7 +77,7 @@ end
end
twitchfollows << name
end
- offset += 100
+ offset += 95
end