• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make Session Lock type Configurable


I'm curious why the Session_files_driver::read() method exclusively uses LOCK_EX when obtaining a file lock? This tends to cause ajax requests to get blocked and process in succession rather than in parallel. It seems allowing read requests to use LOCK_SH and write requests to use LOCK_EX would be a more efficient solution, or perhaps make the lock type configurable. Perhaps I'm missing something.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.