HEX
Server: Apache
System: Linux srv13.cpanelhost.cl 3.10.0-962.3.2.lve1.5.38.el7.x86_64 #1 SMP Thu Jun 18 05:28:41 EDT 2020 x86_64
User: cca63905 (4205)
PHP: 7.3.20
Disabled: NONE
Upload Files
File: //proc/self/cwd/nueva/src/PrestaShopBundle/Resources/config/services/core/circuit_breaker.yml
# circuit_breaker.yml
services:
  _defaults:
    public: true

  prestashop.core.circuit_breaker.doctrine_cache:
    class: Doctrine\Common\Cache\FilesystemCache
    arguments:
      - '@=service("prestashop.adapter.environment").getCacheDir() ~ "/circuit_breaker"'

  prestashop.core.circuit_breaker.guzzle.cache_storage:
    class: GuzzleHttp\Subscriber\Cache\CacheStorage
    arguments:
      - "@prestashop.core.circuit_breaker.doctrine_cache"
      - "circuit_breaker_"
      - 86400

  prestashop.core.circuit_breaker.guzzle.cache_subscriber_factory:
    class: PrestaShopBundle\Cache\Factory\CacheSubscriberFactory

  prestashop.core.circuit_breaker.guzzle.cache_subscriber:
    class: GuzzleHttp\Subscriber\Cache\CacheSubscriber
    factory: ['@prestashop.core.circuit_breaker.guzzle.cache_subscriber_factory', 'create']
    arguments:
      - "@prestashop.core.circuit_breaker.guzzle.cache_storage"

  prestashop.core.circuit_breaker.storage:
    class: PrestaShop\CircuitBreaker\Storage\DoctrineCache
    arguments:
      - "@prestashop.core.circuit_breaker.doctrine_cache"

  prestashop.core.circuit_breaker.advanced_factory:
    class: PrestaShop\CircuitBreaker\AdvancedCircuitBreakerFactory