Hacker News new | ask | show | jobs
by andreareina 2186 days ago
Are you not using a message id of some sort?
1 comments

Do you mean in the send() function? No sorry I'm talking about a chatbot that forwards Jira comments into a chatroom, so usually the combination of the username and the message is unique enough on its own to produce a good hash for lru_cache without needing a message_id if that's what you're referring to.