Homec4science

Don't mention the same object in IRC more than once every 10 minutes

Authored by epriestley <git@epriestley.com> on Jun 9 2011, 22:16.

Description

Don't mention the same object in IRC more than once every 10 minutes

Summary:
phabot gets spammy when discussing a specific revision.

Test Plan:
Added debugging code and produced a reasonable-looking chatlog:

[1:15pm] phabotlocal joined the chat room.
[1:15pm] epriestley: D5
[1:15pm] phabotlocal: D5 quack - http://local.aphront.com/D5
[1:15pm] epriestley: D5
[1:15pm] phabotlocal: Declining to mention PHID-DREV-d7940d0fe081e3ae5267

again (59s left).

[1:15pm] epriestley: D5
[1:15pm] phabotlocal: Declining to mention PHID-DREV-d7940d0fe081e3ae5267

again (57s left).

[1:15pm] CodeBlock: nice :D
[1:15pm] epriestley: I should just leave that code in for maximum irony.
[1:15pm] epriestley: D5
[1:15pm] phabotlocal: Declining to mention PHID-DREV-d7940d0fe081e3ae5267

again (9s left).

[1:16pm] epriestley: D5
[1:16pm] phabotlocal: Declining to mention PHID-DREV-d7940d0fe081e3ae5267

again (2s left).

[1:16pm] epriestley: D5
[1:16pm] phabotlocal: D5 quack - http://local.aphront.com/D5
[1:16pm] epriestley: D5
[1:16pm] phabotlocal: Declining to mention PHID-DREV-d7940d0fe081e3ae5267

again (57s left).

[1:16pm] epriestley: rJUI100
[1:16pm] phabotlocal: http://local.aphront.com/rJUI100
[1:16pm] epriestley: rJUI100
[1:16pm] phabotlocal: Declining to mention PHID-CMIT-8fb731b171a27b8d477c

again (55s left).

[1:16pm] phabotlocal left the chat room. (Remote host closed the connection)

Reviewed By: aran
Reviewers: aran, codeblock, hsb, mroch
CC: aran
Differential Revision: 420

Details

Committed
epriestley <git@epriestley.com>Jun 9 2011, 22:48
Pushed
aubortJan 31 2017, 17:16
Parents
rPH79b5343d6b1b: Remove "@" from resource map include since there is no reason to silence this…
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH0ad2b526bcf4: Don't mention the same object in IRC more than once every 10 minutes (authored by epriestley <git@epriestley.com>).Jun 9 2011, 22:48