Last active
December 9, 2016 14:44
-
-
Save hn-support/3e21b00632533565adef66eb230b649a to your computer and use it in GitHub Desktop.
Setup redis sessions for Magento 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<session_save>db</session_save> | |
<redis_session> | |
<host>redismaster</host> | |
<port>6379</port> | |
<password></password> | |
<timeout>2.5</timeout> | |
<persistent></persistent> | |
<db>2</db> | |
<compression_threshold>2048</compression_threshold> | |
<compression_lib>gzip</compression_lib> | |
<log_level>1</log_level> | |
<max_concurrency>6</max_concurrency> | |
<break_after_frontend>5</break_after_frontend> | |
<fail_after>10</fail_after> | |
<break_after_adminhtml>30</break_after_adminhtml> | |
<first_lifetime>600</first_lifetime> | |
<bot_first_lifetime>60</bot_first_lifetime> | |
<bot_lifetime>7200</bot_lifetime> | |
<disable_locking>0</disable_locking> | |
<min_lifetime>60</min_lifetime> | |
<max_lifetime>2592000</max_lifetime> | |
</redis_session> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment