)]}'
{"mistral/engine/task_handler.py":[{"author":{"_account_id":21970,"name":"Andras Kovi","email":"akovi@nokia.com","username":"andras.kovi"},"change_message_id":"7dc68464696845ad680f9e8422ef5a3344834a9d","unresolved":false,"context_lines":[{"line_number":306,"context_line":"            processing\u003dFalse"},{"line_number":307,"context_line":"        )"},{"line_number":308,"context_line":""},{"line_number":309,"context_line":"        if not jobs_exist:"},{"line_number":310,"context_line":"            _schedule_refresh_task_state(t_ex_id)"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    for t_ex in affected_task_execs:"}],"source_content_type":"text/x-python","patch_set":4,"id":"7faddb67_e1a856da","line":309,"range":{"start_line":309,"start_character":8,"end_line":309,"end_character":25},"updated":"2019-08-26 08:40:25.000000000","message":"I\u0027ve always felt like this was a quite dangerous method to ensure the continuity of updates. It would be so much better if keys could be used to identify the scheduled calls and the DB would be responsible for keeping one record with that key.\nI see that there is an in-memory list too, it still feels shaky.","commit_id":"0f6bc1897fdc5809e8999c01509d9f4c5feb5eff"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"f6a0e8c31402fafee02902d518c24d9316ef4ae9","unresolved":false,"context_lines":[{"line_number":306,"context_line":"            processing\u003dFalse"},{"line_number":307,"context_line":"        )"},{"line_number":308,"context_line":""},{"line_number":309,"context_line":"        if not jobs_exist:"},{"line_number":310,"context_line":"            _schedule_refresh_task_state(t_ex_id)"},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    for t_ex in affected_task_execs:"}],"source_content_type":"text/x-python","patch_set":4,"id":"7faddb67_a8a9b67c","line":309,"range":{"start_line":309,"start_character":8,"end_line":309,"end_character":25},"in_reply_to":"7faddb67_e1a856da","updated":"2019-08-28 08:57:36.000000000","message":"Yeah, I totally agree that the ideal way would be to ensure uniqueness of the record with the given with the DB. I tried a lot of approaches but that didn\u0027t work out. Having a lis in memory at least allows to reduce a number of DB queries.","commit_id":"0f6bc1897fdc5809e8999c01509d9f4c5feb5eff"}]}
