<?php

return [
    'check_path' => env('UPDATE_CHECK_PATH', 'api/update/check'),
    'timeout' => (int) env('UPDATE_API_TIMEOUT', 10),
    'retry_attempts' => (int) env('UPDATE_RETRY_ATTEMPTS', 1),
    'retry_sleep' => (int) env('UPDATE_RETRY_SLEEP_MS', 500),
    'download_timeout' => (int) env('UPDATE_DOWNLOAD_TIMEOUT', 60),
    'download_retry_attempts' => (int) env('UPDATE_DOWNLOAD_RETRY_ATTEMPTS', 2),
    'download_retry_sleep' => (int) env('UPDATE_DOWNLOAD_RETRY_SLEEP_MS', 1000),
    'cache_ttl' => (int) env('UPDATE_CACHE_TTL', 1800),
    'operation_time_limit' => (int) env('UPDATE_OPERATION_TIME_LIMIT', 0),
];
