Sha256: 2c47c6e40b3e76bfac6c2c026101c3a2c442183828cad3de399f4e27eac874d3
Contents?: true
Size: 731 Bytes
Versions: 1
Compression:
Stored size: 731 Bytes
Contents
## 0.3.0 - ability to set custom lock value. Works just like setting timeout and name (handles procs as well). ``` ruby sidekiq_options lock: { timeout: timeout, name: name, value: custom_value } ``` ## 0.2.0 - ability to globally configure `lock` method name ``` ruby Sidekiq.configure_server do |config| config.lock_method = :redis_lock end ``` - added inline test helper, by requiring `sidekiq/lock/testing/inline` you will have access to two methods: - `set_sidekiq_lock(worker_class, payload)` - `clear_sidekiq_lock` That will setup `RedisLock` under proper thread variable. This can be handy if you test your workers inline (without full stack middleware) ## 0.0.1 - Initial release
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-lock-0.3.0 | CHANGELOG.md |