refactor: rename thumbnail_rendering queue to asset_pipeline
The queue handles far more than thumbnails: OCC tessellation, USD master generation, GLB production, order line renders, and workflow renders. asset_pipeline better reflects its role as the render-worker's primary queue. Updated all references in: task decorators, celery_app.py, beat_tasks.py, docker-compose.yml worker command, worker.py MONITORED_QUEUES, admin.py, CLAUDE.md, LEARNINGS.md, Dockerfile, helpTexts.ts, test files, and all .claude/commands/*.md skill files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -26,7 +26,7 @@ def upgrade() -> None:
|
||||
INSERT INTO worker_configs (queue_name, max_concurrency, min_concurrency, enabled)
|
||||
VALUES
|
||||
('step_processing', 8, 2, true),
|
||||
('thumbnail_rendering', 1, 1, true),
|
||||
('asset_pipeline', 1, 1, true),
|
||||
('ai_validation', 4, 1, true)
|
||||
ON CONFLICT DO NOTHING
|
||||
""")
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
"""rename_tessellation_settings_gltf_production_to_scene
|
||||
|
||||
Revision ID: 6ebfe2737531
|
||||
Revises: 062
|
||||
Create Date: 2026-03-12 20:39:36.880236
|
||||
|
||||
"""
|
||||
from typing import Sequence, Union
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision: str = '6ebfe2737531'
|
||||
down_revision: Union[str, None] = '062'
|
||||
branch_labels: Union[str, Sequence[str], None] = None
|
||||
depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
op.execute("""
|
||||
UPDATE system_settings
|
||||
SET key = 'scene_linear_deflection'
|
||||
WHERE key = 'gltf_production_linear_deflection'
|
||||
""")
|
||||
op.execute("""
|
||||
UPDATE system_settings
|
||||
SET key = 'scene_angular_deflection'
|
||||
WHERE key = 'gltf_production_angular_deflection'
|
||||
""")
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
op.execute("""
|
||||
UPDATE system_settings
|
||||
SET key = 'gltf_production_linear_deflection'
|
||||
WHERE key = 'scene_linear_deflection'
|
||||
""")
|
||||
op.execute("""
|
||||
UPDATE system_settings
|
||||
SET key = 'gltf_production_angular_deflection'
|
||||
WHERE key = 'scene_angular_deflection'
|
||||
""")
|
||||
Reference in New Issue
Block a user