Skip to content

fix: precompilation and conflicting cluster _time#120

Merged
jkaye2012 merged 1 commit into
masterfrom
fix/cluster-precompile-time
Jun 19, 2026
Merged

fix: precompilation and conflicting cluster _time#120
jkaye2012 merged 1 commit into
masterfrom
fix/cluster-precompile-time

Conversation

@tanmaykm

Copy link
Copy Markdown
Member
  • Remove duplicate include("connection.jl") from parser.jl; it is already included by Redis.jl before parser.jl, so the redundant include triggered a precompilation failure.
  • Drop "_time" from CLUSTER_MULTI_KEY_COMMANDS so @redisfunction generates _time(::RedisClusterConnection) automatically. This was otherwise resulting in a function override warning during precompilation.
  • Remove the now-redundant hand-written _time(::RedisClusterConnection).

fixes: #119

- Remove duplicate include("connection.jl") from parser.jl; it is already included by Redis.jl before parser.jl, so the redundant include triggered a precompilation failure.
- Drop "_time" from CLUSTER_MULTI_KEY_COMMANDS so `@redisfunction` generates `_time(::RedisClusterConnection)` automatically. This was otherwise resulting in a function override warning during precompilation.
- Remove the now-redundant hand-written _time(::RedisClusterConnection).

fixes: #119
@jkaye2012 jkaye2012 merged commit 97c21e3 into master Jun 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken precompilation on v4.0.0

2 participants