Deploy AIOS web (React glide grid + FastAPI slice)
Browse files- RELEASES.json +1 -1
- VERSION +1 -1
- api/amazon_relational.py +11 -1
- web/public/AIOS_DEPLOY_RECEIPT +1 -1
RELEASES.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "7670c7b",
|
| 3 |
"releases": []
|
| 4 |
}
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
7670c7b
|
api/amazon_relational.py
CHANGED
|
@@ -247,6 +247,16 @@ def _quoted(name):
|
|
| 247 |
return '"' + name.replace('"', '""') + '"'
|
| 248 |
|
| 249 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
def _read_through(cur, key, count):
|
| 251 |
"""Choose storage before reading rows; estimate wide snapshots with a bounded sample."""
|
| 252 |
ut = _odoo._ut()
|
|
@@ -260,7 +270,7 @@ def _read_through(cur, key, count):
|
|
| 260 |
# ASCII escaping as the document writer. The largest sampled row is conservative.
|
| 261 |
size = max((len(json.dumps(dict(zip(names, row)), ensure_ascii=True,
|
| 262 |
default=str).encode("utf-8")) + 96 for row in sample), default=0)
|
| 263 |
-
return count * size > ut.MAX_TABLE_BYTES
|
| 264 |
|
| 265 |
|
| 266 |
def missing_source(key):
|
|
|
|
| 247 |
return '"' + name.replace('"', '""') + '"'
|
| 248 |
|
| 249 |
|
| 250 |
+
#: ⛔⛔ HOTFIX 2026-09-27 (D-3284's cost): an Amazon snapshot table larger than this is served
|
| 251 |
+
#: READ-THROUGH, never stored in the tenant document. The per-table `MAX_TABLE_BYTES` (48 MB) let
|
| 252 |
+
#: catalog items (32.9 MB for 2,317 rows), pricing (11.7 MB) and FBA inventory (7.5 MB) in once
|
| 253 |
+
#: connector databases stopped counting toward MAX_TABLES, and `user_tables` doubled to 118 MB.
|
| 254 |
+
#: Every whole-document read and write doubled with it: the 2 GB DigitalOcean staging node ran
|
| 255 |
+
#: out of memory and PostgreSQL restarted (2026-09-27 16:36Z), and on Neon each read is billed at
|
| 256 |
+
#: the document's text size. Small tables stay stored; nothing is capped (standing rule 1).
|
| 257 |
+
AMAZON_STORED_BYTES = 4 * 1024 * 1024
|
| 258 |
+
|
| 259 |
+
|
| 260 |
def _read_through(cur, key, count):
|
| 261 |
"""Choose storage before reading rows; estimate wide snapshots with a bounded sample."""
|
| 262 |
ut = _odoo._ut()
|
|
|
|
| 270 |
# ASCII escaping as the document writer. The largest sampled row is conservative.
|
| 271 |
size = max((len(json.dumps(dict(zip(names, row)), ensure_ascii=True,
|
| 272 |
default=str).encode("utf-8")) + 96 for row in sample), default=0)
|
| 273 |
+
return count * size > min(ut.MAX_TABLE_BYTES, AMAZON_STORED_BYTES)
|
| 274 |
|
| 275 |
|
| 276 |
def missing_source(key):
|
web/public/AIOS_DEPLOY_RECEIPT
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
d6ccc81fa467cef0ea60f9dc4e6a1bc4f8ea1092d3359e1b7c8a4dc2c1167609
|