Skip to content

Commit

Permalink
Now we have proper concurrency, no need for scalar default nx: true
Browse files Browse the repository at this point in the history
  • Loading branch information
lewispb committed Aug 2, 2023
1 parent c808076 commit b29a895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kredis/types/scalar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ def expire_at(datetime)

private
def set_default
set type_to_string(value, typed), ex: expires_in, nx: true
self.value = default
end
end

0 comments on commit b29a895

Please sign in to comment.