amfs-http-server 0.3.53__tar.gz → 0.3.54__tar.gz
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.
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/PKG-INFO +1 -1
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/pyproject.toml +1 -1
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/server.py +7 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/.gitignore +0 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/__init__.py +0 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/auth.py +0 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/models.py +0 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/openrouter_proxy.py +0 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/pro_provider.py +0 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/pro_proxy.py +0 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/sse.py +0 -0
- {amfs_http_server-0.3.53 → amfs_http_server-0.3.54}/src/amfs_http/tenant_middleware.py +0 -0
|
@@ -9436,11 +9436,18 @@ def _start_embedded_cortex() -> None:
|
|
|
9436
9436
|
# adapter grew list_scopes(), but the knob stays: 0 disables it on
|
|
9437
9437
|
# deployments where the event path is trusted to compile every scope.
|
|
9438
9438
|
catchup_s = float(os.environ.get("AMFS_CORTEX_CATCHUP_INTERVAL_S", "300"))
|
|
9439
|
+
# Tier A consolidation walks every tenant entity by entity. One instance
|
|
9440
|
+
# of the fleet runs it per interval (advisory lock inside the worker);
|
|
9441
|
+
# 0 disables it on deployments that consolidate on demand instead.
|
|
9442
|
+
consolidation_s = float(
|
|
9443
|
+
os.environ.get("AMFS_CORTEX_CONSOLIDATION_INTERVAL_S", "21600")
|
|
9444
|
+
)
|
|
9439
9445
|
worker = CortexWorker(
|
|
9440
9446
|
dsn=dsn,
|
|
9441
9447
|
compiler=compiler,
|
|
9442
9448
|
use_advisory_lock=False,
|
|
9443
9449
|
catchup_interval_s=catchup_s,
|
|
9450
|
+
consolidation_interval_s=consolidation_s,
|
|
9444
9451
|
tenant_provider=tenant_provider,
|
|
9445
9452
|
)
|
|
9446
9453
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|