Changes for version 1.06
- CHANGES:
- Ability to force re-connection with Redis on error ('reconnect_on_error' attribute).
- $DEFAULT_CONNECTION_TIMEOUT, $DEFAULT_OPERATION_TIMEOUT, $DEFAULT_ADVANCE_CLEANUP_NUM constants added.
- connection_timeout, operation_timeout attributes added.
- Revised error codes.
- Better handling of errors when running out of memory.
- Arguments control improved.
- Added the service module Redis::CappedCollection::Util.
- Avoid "cache stampede" effect during advanced memory cleanup.
- Attributes 'advance_cleanup_bytes' and 'advance_cleanup_num' renamed to 'min_cleanup_bytes' and 'min_cleanup_items'.
- $DEFAULT_ADVANCED_CLEANUP_BYTES, $DEFAULT_ADVANCE_CLEANUP_NUM renamed to $DEFAULT_MIN_CLEANUP_BYTES, $DEFAULT_MIN_CLEANUP_ITEMS . FIXES:
- Argument 'redis' may have Redis::CappedCollection type in function collection_info, collection_exists, drop_collection, redis_config_ok, resize calls.
- Tests corrected.
Modules
Provides fixed size (determined by 'maxmemory' Redis server setting) collections with FIFO data removal.
String manipulation utilities.