<Cinchy>
[URL] Paste #Nuhhx7o4u2UMnCENULya at spacepaste
<Evropi>
goal is to get latest commit every so often
<Evropi>
later I'll compare it with the previous and if they're the same, it won't post
<dominikh>
and how does it not work? other than having completely wonky code around lines 54-60
<Evropi>
but for now I need to get this up and running
<Evropi>
everything before that does work
<splittingred>
hey, i'm running a pretty intensive game matchmaking system with cinch; and it's working great, except one small issue; i cannot, for the life of me, prevent Excess Flood errors on QuakeNet; my messages_per_second config is set low to 0.1, any ideas?
<dominikh>
I'm not even sure what you're attempting to do on lines 56-60
<Evropi>
executes get_latest_commit (hopefully with the previous parameters) every 120 seconds
<Evropi>
using cinch's timer
<Evropi>
or so I hope :x
<dominikh>
splittingred: ugh, maybe QuakeNet is applying other rules (are you sending a huge amount of messages?). Maybe ask QuakeNet officially for an exemption?
<dominikh>
Evropi: so drop lines 56, 57, 59 and 60.
<dominikh>
Evropi: it would still not work, because where should it get the argument from
<Evropi>
well... yeah
<Evropi>
looking at the cinch rdoc
<splittingred>
dominikh: that was my guess, not necessarily a rate limit but more a bulk limit. and yeah, there are on avg 50 ppl issuing commands to bot, which i had hoped the queue limiter would solve. thanks for the tip though
<Evropi>
you can't pass args that way right
<dominikh>
splittingred: yeah, all we can do is throttle the amount of messages we send per second. that will still trigger more advanced spam detection, even though I am disappointed at them calling it Excess Flood then
<splittingred>
dominikh: yeah, i figured. thanks though!
<dominikh>
Evropi: I guess in the end you'll want to use that plugin with a list of repos?
<Evropi>
dominikh: yeah
<Evropi>
so it checks every so often for new commits
<Evropi>
if there are any new ones, writes about it in the chan
<Evropi>
that's the idea at least, my implementation seems to be terribad :x