<?php

return [
    'ai_metadata' => [
        'pending' => 'proofdb:ai:metadata:pending',
        'delayed' => 'proofdb:ai:metadata:delayed',
        'failed' => 'proofdb:ai:metadata:failed',
        'retry_prefix' => 'proofdb:ai:metadata:retry:',
        'error_prefix' => 'proofdb:ai:metadata:error:',
        'max_retries' => (int) (getenv('AI_METADATA_QUEUE_MAX_RETRIES') ?: 5),
        'base_delay_seconds' => (int) (getenv('AI_METADATA_QUEUE_BASE_DELAY_SECONDS') ?: 60),
        'block_timeout' => (int) (getenv('AI_METADATA_QUEUE_BLOCK_TIMEOUT') ?: 5),
    ],
];
