Commit f586a825 authored by jan.koester's avatar jan.koester
Browse files

reworked error throwing media plugin

parent 6f315352
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -34,7 +34,12 @@
blogi::RedisStore::RedisStore(const char *host,int port,const char *password){
    _host=host;
    _port=port;
    _RedisCTX=redisConnectNonBlock(host,port);

    timeval retime;

    retime.tv_usec=100;

    _RedisCTX=redisConnectWithTimeout(host,port,retime);

    if (_RedisCTX->err) {
        libhttppp::HTTPException exp;