wavelog/system/libraries
HB9HIL 30f490637d
fix legacy polling for redis and memcached
in 2014, when codeigniter 3 was designed the overall performance wasn't that important so
redis and memcached session drivers used a polling mechanism to wait for the session lock to
be released. This polling happend once per second, which is a huge performance penalty for serialized
 AJAX requests of the same user. Since we live in the modern age now and performance is important,
 this commit replaces the polling with an interval of 100ms. The timeout is still 30s, so if a lock is
 not released within 30s the request will fail, but if the lock is released after 100ms the next request
 will pick it up immediately instead of waiting for a full second. If someone got issues because of 100ms polling to a
 redis or memcached server, I assume they have bigger problems than a few milliseconds of delay.
2026-08-12 15:11:52 +02:00
..
Cache same fallback behaviour for memcached adapter 2026-02-02 13:42:11 +01:00
Javascript Codeignitor 3.1.6 and corresponding changes 2017-12-01 19:25:26 +00:00
Session fix legacy polling for redis and memcached 2026-08-12 15:11:52 +02:00
Calendar.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Cart.php Codeignitor 3.1.6 and corresponding changes 2017-12-01 19:25:26 +00:00
Driver.php Had to patch CI, otherweise no 8.3 compat 2024-02-18 07:43:44 +00:00
Email.php removed debugging 2024-10-28 13:24:38 +01:00
Encrypt.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Encryption.php php8.4 fixes 2025-04-28 13:22:18 +02:00
Form_validation.php CodeIgniter fix to deal with null-values 2023-08-01 13:01:20 +00:00
Ftp.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Image_lib.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
index.html Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Javascript.php Codeignitor 3.1.6 and corresponding changes 2017-12-01 19:25:26 +00:00
Migration.php debug messaging to see how long each migration takes 2026-02-06 01:12:18 +01:00
Pagination.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Parser.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Profiler.php [PHP8.2] Updated CI files to work with PHP8.2 2023-07-16 09:49:49 +02:00
Table.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Trackback.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Typography.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Unit_test.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Upload.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
User_agent.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Xmlrpc.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Xmlrpcs.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00
Zip.php Updated CodeIgniter to latest dev from Github 2021-11-06 20:05:55 +01:00