Leandro Moreira

Results 210 comments of Leandro Moreira

Hey @Hammam94 I think it's because your fist attempt to acquire the lock have failed. ```ruby lock_manager = Redlock::Client.new(REDIS_LOCKING[:servers]) lock_info = lock_manager.lock(retailer_id.to_s, REDIS_LOCKING[:ttl]) # your lock_info might be `false` instead...

thanks @panozzaj I really would love to hear @maltoe 's thought on this, it essentially changes the established API / expectation, if we want to merge this I'd say we...

> PR looks good, change looks sensible to me. With regards to the API changes: Sure, technically incompatible, albeit maybe a minor case since it's on the error path anyway?...

@panozzaj @LyleDavis I'm off from my home/computer so unless @maltoe does a new release I only will be able to do it next Saturday. Sorry to let you waiting and...

it seems that the ubuntu-20.04 does not offer the ruby 3.1 https://github.com/leandromoreira/redlock-rb/runs/8187478852?check_suite_focus=true

It's stable with few changes here and there but I think it's still active, go ahead and do your PR any thoughts @maltoe ?

I think we need to keep the Gemfile.lock (even update it, it can be done through the docker though) to make the build pass again. ``` You are trying to...

Hi, I don't know what's causing your race condition but I think you can. ``` # enforce TTL as integer always product_lock = $redlock_client.lock(product.redlock_key, ENV.fetch('REDLOCK_TIME', 4000).to_i) # also, it seems...