Skip to content

memcached ServerIsMarkedDead #24

@cyzanfar

Description

@cyzanfar

I'm building a gem and added memcached as a dependency but then when I add it:

require "coinmarketcap/wrapper/version"
 require "coinmarketcap/wrapper/api_client"
 require "coinmarketcap/wrapper/coin"
 require "coinmarketcap/wrapper/market_data"
 require 'json'
 require 'api_cache'
 require "moneta"
 require "memcached"

 module Coinmarketcap
   module Wrapper
     BASE_API_URL = "https://api.coinmarketcap.com/v1"

     APICache.store = Moneta.new(:Memcached)
   end
 end 

and then run bin/console I get an error:

Memcached::ServerIsMarkedDead: Key {"9aaf5eb3d6edd10f12643e3087b84d21"=>"127.0.0.1:11211:8"}

is there a configuration I am missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions