ai_co_discuss 0.2.40 → 0.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/server.py +2 -0
- package/package.json +1 -1
- package/web/modern.css +1 -1
- package/web/modern.js +1164 -1123
package/backend/server.py
CHANGED
|
@@ -1092,6 +1092,8 @@ def check_limits(connection, room_id, payload):
|
|
|
1092
1092
|
(summary_deadline, summary_deadline, room_id))
|
|
1093
1093
|
else:
|
|
1094
1094
|
connection.execute("UPDATE topic_settings SET phase='paused' WHERE room_id=?", (room_id,))
|
|
1095
|
+
# Pausing at the limit also pauses the run, so the board offers restart and the old execution is superseded.
|
|
1096
|
+
connection.execute("UPDATE discussion_runtime SET status='paused',generation=generation+1,revision=revision+1 WHERE room_id=? AND status='running'", (room_id,))
|
|
1095
1097
|
return require_room(connection, room_id)
|
|
1096
1098
|
|
|
1097
1099
|
|