Sha256: 4dab27f815324e40eeed6f8e167d65de788f46f814531cda2ced4a391eae497d

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.5

### Added
- Make loading lua script play better with Redis clusters.
- Handle failures loading lua script on Redis server to prevent infinite loop.

## 1.0.4

### Fixed
- Fix wait_time method to match the documentation from [bc-swoop](https://github.com/bc-swoop)

## 1.0.3

### Changed
- Ensure that arguments sent to Redis Lua script are cast to integers.

## 1.0.2

### Added
- Throttle insances can now specify the Redis instance to override the global setting.
- Redis instance now defaults to the default redis instance: `Redis.new`.
- Optimize loading LUA script to Redis; now done globally instead of per throttle instance.


## 1.0.1

### Added
- Added mutex in `SimpleThrottle.add` to ensure thread safety when adding global throttles.


## 1.0.0

### Added
- Simple Redis backed throttle for Ruby.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_throttle-1.0.5 CHANGELOG.md