Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@HypeMC
Copy link
Member

@HypeMC HypeMC commented Jan 30, 2025

Q A
Branch? 7.2
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #59686
License MIT

#59348 completely broke the Redis store when used with a service, eg:

framework:
  lock:
    resources:
      default: snc_redis.default

The assumption that exceptions is always false is only correct when a DSN is used.

@andrew-demb
Copy link
Contributor

We have the same problem as described in the description. We're using for symfony/lock different Redis connection than for symfony/cache.

Thanks for the PR

@andrew-demb
Copy link
Contributor

CI failure seems unrelated (failed tests are from symfony/process test suite)

@nicolas-grekas
Copy link
Member

Thank you @HypeMC.

@nicolas-grekas nicolas-grekas merged commit c633647 into symfony:7.2 Feb 4, 2025
7 of 11 checks passed
@HypeMC HypeMC deleted the fix-predis-lock branch February 4, 2025 14:27
@fabpot fabpot mentioned this pull request Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Lock] "NOSCRIPT No matching script. Please use EVAL." after updating to symfony/lock 7.2.3

5 participants