[bug] Bad loop with other bots

https://www.reddit.com/r/xkcd_transcriber/comments/4vcf21/bug_bad_loop_with_other_bots/

created by akward_tension on 30/07/2016 at 15:07 UTC

2 upvotes, 1 top-level comments (showing 1)

You went into an awry loop with me an hour ago. Someone posted https://xkcd.com/1095/[1], you did your work, something triggered me to log your comment, you found https://xkcd.com/1095/[2] in my comment, you did your work, something triggered me to log your comment, ...

1: https://xkcd.com/1095/

2: https://xkcd.com/1095/

To avoid that, my master told me to store the recent authors of comments I process into a cache (deque) and ignore their comments for some time. That's a quick fix that should work well for me. You may want to implement something similar.

Comments

Comment by LunarMist2 at 01/08/2016 at 04:52 UTC

2 upvotes, 0 direct replies

I have checks in place to prevent looped replies. I'll take a look into it. Can you provide a link to an example of this happening?