HomePhorge

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

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

Provenance
epriestleyAuthored on Jun 9 2011, 1:16 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP79b5343d6b1b: Remove "@" from resource map include since there is no reason to silence this…
Branches
Unknown
Tags
Unknown

Event Timeline