Browse Source

Topic: update comment describing rabbitmq triggers

merge-requests/65/head
Deimos 6 years ago
parent
commit
caee0c50a6
  1. 5
      tildes/tildes/models/topic/topic.py

5
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
"""

Loading…
Cancel
Save