Sha256: 7d692dd57e62b63d2ea1ea3ae8ed7b50bc3ea0fb1bd99332102da4c9d17b6ce7
Contents?: true
Size: 425 Bytes
Versions: 4
Compression:
Stored size: 425 Bytes
Contents
#!/usr/bin/env ruby require 'bundler/setup' require 'dotenv/load' require 'pry' require 'awesome_print' require 'async_storage' require 'connection_pool' AsyncStorage.configure do |config| config.redis = ConnectionPool.new(size: 2, timeout: 0.5) do Redis.new(url: ENV.fetch('REDIS_URL', 'redis://0.0.0.0:6379')) end config.expires_in = 120 end class DummyResolver def call(*values); values; end end Pry.start
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
async_storage-0.0.4 | bin/console |
async_storage-0.0.3 | bin/console |
async_storage-0.0.2 | bin/console |
async_storage-0.0.1 | bin/console |