mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-18 14:10:59 +00:00
1 line
2.7 KiB
JSON
1 line
2.7 KiB
JSON
[{"user_id": 1706, "stars": [], "topic_id": 35876, "date_created": 1305753788.0881751, "message": "@leah - after you create a topic (but haven't added any messages to it) the group.date_latest_message is less than the maximum group.topics.date_latest_message", "group_id": 2780, "id": 1103418}, {"user_id": 1706, "stars": [], "topic_id": 35876, "date_created": 1305753823.6197579, "message": "is there any way that the group's date_latest_message could be updated to the same value as the newly-created topic? It would help me a bunch with cache-coherency...", "group_id": 2780, "id": 1103428}, {"user_id": 1706, "stars": [], "topic_id": 35876, "date_created": 1307125333.0777171, "message": "@leah - do you have any thoughts on that ^ ?", "group_id": 2780, "id": 1279498}, {"user_id": 1706, "stars": [], "topic_id": 35876, "date_created": 1307125321.301703, "message": "Okay, to fill in the blanks:\n\nWhen I connect (or reconnect after losing the session/cursor) I need to know which topic lists are out of date. Given the number of groups you can subscribe to, hitting each group's topics endpoint becomes expensive.\n\nThe groups payload contains everything I need to detect a change to the topics list, *except* for one edge case.\n\nWhile I'm disconnected:\n\n1 - someone adds a new topic, but doesn't add any messages to it.\n2 - someone removes an existing topic (for which I have no unreads)\n\nAt that point, the group's date_latest_message, topics_count, unread and unread_topics_count remain unchanged.\n\nIf, upon topic creation, the group's date_latest_message matched the newly-created topic's date_latest_message, I would detect the change.", "group_id": 2780, "id": 1279497}, {"user_id": 2, "stars": [], "topic_id": 35876, "date_created": 1307130147.4960151, "message": "that makes sense", "group_id": 2780, "id": 1280365}, {"user_id": 2, "stars": [], "topic_id": 35876, "date_created": 1307130152.4797511, "message": "let me think about it a bit", "group_id": 2780, "id": 1280366}, {"user_id": 2, "stars": [], "topic_id": 35876, "date_created": 1307130198.267411, "message": "sorry, I'm a bit jetlagged now", "group_id": 2780, "id": 1280376}, {"user_id": 1706, "stars": [], "topic_id": 35876, "date_created": 1307130569.269443, "message": "sorry I probably wasn't clear: steps 1 and 2 are what's required for the singular edge case. Simply deleting a topic without also adding a new (but empty) topic will decrement topics_count so I'll detect that.", "group_id": 2780, "id": 1280446}, {"user_id": 2, "stars": [], "topic_id": 35876, "date_created": 1307130270.773807, "message": "not sure about 2)", "group_id": 2780, "id": 1280389}, {"user_id": 2, "stars": [], "topic_id": 35876, "date_created": 1307130249.254112, "message": "I'm pretty sure 1) is an easy fix", "group_id": 2780, "id": 1280386}] |