Created
July 22, 2019 00:49
-
-
Save faustoct1/3033f791735b5d1aefa44fc0d0c1b259 to your computer and use it in GitHub Desktop.
init redis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uricache = URI.parse(ENV["REDIS_URL"]) | |
CACHE = Redis.new(:host => uricache.host, :port => uricache.port, :password => uricache.password) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment