Admin login always takes >30 sec when using Redis on 2.2.1 #12385
Labels
Fixed in 2.3.x
The issue has been fixed in 2.3 release line
Issue: Clear Description
Gate 2 Passed. Manual verification of the issue description passed
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Reproduced on 2.2.x
The issue has been reproduced on latest 2.2 release
Preconditions
Steps to reproduce
Expected result
Actual result
The regenerateId method was recently rewritten to generate a new session id when an admin logs into the admin dashboard.
The change in the session id causes the session read method of the redis session handling class to loop 60 times with a 500 ms sleep at the end of each loop before breaking out while it looks for the locking pid. This is because both
session_regenerate_id
andsession_start
increment the lock value 0->1->2 but only when the value is 1 will it break out otherwise it continues for$tries
(60) with a 500 ms sleep between each one.The text was updated successfully, but these errors were encountered: