Sha256: 0cc2fdb2cad5306482a7e5dc0f28a29f51839479e0f21cca983b2dfa37a04822
Contents?: true
Size: 357 Bytes
Versions: 3
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true require "redis" module Kiqchestra # Redis client used for caching workflow dependencies and progress. # # Dependencies: # - `redis` gem: Ensure this is included in your Gemfile. class RedisClient def self.client @client ||= Redis.new(url: ENV["REDIS_URL"] || "redis://localhost:6379/0") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kiqchestra-1.0.2 | lib/kiqchestra/redis_client.rb |
kiqchestra-1.0.1 | lib/kiqchestra/redis_client.rb |
kiqchestra-1.0.0 | lib/kiqchestra/redis_client.rb |