From caee0c50a66d791b28a0ced40c4555415d6a86c0 Mon Sep 17 00:00:00 2001 From: Deimos Date: Wed, 27 Mar 2019 21:57:47 -0600 Subject: [PATCH] Topic: update comment describing rabbitmq triggers --- tildes/tildes/models/topic/topic.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tildes/tildes/models/topic/topic.py b/tildes/tildes/models/topic/topic.py index 4ed33b8..f92893d 100644 --- a/tildes/tildes/models/topic/topic.py +++ b/tildes/tildes/models/topic/topic.py @@ -58,8 +58,9 @@ class Topic(DatabaseModel): - last_activity_time will be updated by insertions, deletions, and updates to is_deleted in comments. Outgoing: - - Inserting a row or updating markdown will send a rabbitmq message for - "topic.created" or "topic.edited" respectively. + - Inserting a row will send a rabbitmq "topic.created" message. + - Updating markdown will send a rabbitmq "topic.edited" message. + - Updating link will send a rabbitmq "topic.link_edited" message. Internal: - deleted_time will be set when is_deleted is set to true """