Memcache maximum key expiration time

前端 未结 7 1091
伪装坚强ぢ
伪装坚强ぢ 2020-12-05 03:45

What\'s memcached\'s maximum key expiration time?

If I don\'t provide an expiration time and the cache gets full, what happens?

相关标签:
7条回答
  • 2020-12-05 04:51

    On laravel config.session.lifetime setting that if set to be an equivalent of 30days above, will be considered as a timestamp (this will give an error of token mismatch everytime assuming that memcached is used).

    To answer, memcached expiration could be set anytime. (Laravel's default setting (on v5.0) will set you to an already expire timestamp). If you did not set it, the defualt will be used.

    0 讨论(0)
提交回复
热议问题