From f86d3c75c10b312508e9e2677e7ffa456109751e Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Fri, 8 Apr 2016 15:56:38 -0700 Subject: 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. --- followalert.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3