Skip to content
This repository has been archived by the owner on Dec 28, 2019. It is now read-only.

Latest commit

 

History

History
48 lines (34 loc) · 2.03 KB

README.md

File metadata and controls

48 lines (34 loc) · 2.03 KB

Flusher Bundle

By endroid

Latest Stable Version Build Status Total Downloads Monthly Downloads License

This bundle integrates the endroid/flusher library in Symfony. It provides the following features.

  • Optional replacement your default entity manager with the FlusherEntityManager
  • Configuration of the step size used when determining the optimal batch size
  • Injection of the Flusher or the FlusherEntityManager anywhere in your application

Installation

Use Composer to install the library. Symfony Flex will set up the configuration and routing for you.

$ composer require endroid/flusher-bundle

Configuration

You can configure the bundle to override the default entity manager with the FlusherEntityManager, disable the flusher inside the entity manager or use your own step size increment during dynamic batch size detection.

endroid_flusher:
    override_default_entity_manager: false
    disable_entity_manager_flusher: false
    step_size: 1.5

Versioning

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility breaking changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading.

License

This source code is subject to the MIT license bundled in the file LICENSE.