Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
process_fts_updates: Update comments for TODO being actually done.
Alex Vandivercc665cb9b7a5
diff --git a/puppet/zulip/files/postgresql/process_fts_updates b/puppet/zulip/files/postgresql/process_fts_updatesindex dd65ff70307..bae230ccf02 100755--- a/puppet/zulip/files/postgresql/process_fts_updates+++ b/puppet/zulip/files/postgresql/process_fts_updates@@ -248,13 +248,13 @@ while True:# Catch up on any historical columnsupdate_all_rows("Caught up", conn)- # TODO: If we go back into recovery, we should stop processing updatesif select.select([conn], [], [], 30) != ([], [], []):conn.poll()conn.notifies.clear()update_all_rows("Updated", conn)except psycopg2.OperationalError as e:+ # We will end up here if the database is restarted, or becomes read-only.retries -= 1if retries <= 0:raise