doctrine / DoctrineModule

Doctrine Module for Laminas
http://www.doctrine-project.org/projects/doctrine-module.html
MIT License
398 stars 269 forks source link

ZendStorageCache not cover lifetime configuration ? #597

Closed matlow closed 6 years ago

matlow commented 7 years ago

Hello On method doSave on ZendStorageCache class, you don't set lifetime. Does it means that lifetime is not covered ? thx for reply

Ocramius commented 7 years ago

Lifetime is decided at service-level lifetime, not call-level.

A Zend\Cache instance is pre-configured with a TTL.

On 11 Apr 2017 11:32 a.m., "matlow" notifications@github.com wrote:

On method doSave on ZendStorageCache class, you don't set lifetime. Does it means that lifetime is not covered ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/doctrine/DoctrineModule/issues/597, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJakNZ1wdY78Sedx9vK_xBpSCkotMCXks5ru0jGgaJpZM4M52Ez .