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

use blocked redis con

parent 2093b77c
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -35,10 +35,7 @@
#include "backend.h"

blogi::RedisStore::RedisStore(const char *host,int port,const char *password,int millitout){

    struct timeval timeout = { 0, millitout }; // 1.5 seconds
REDISCONNECT:
    _RedisCTX=redisConnectNonBlock(host,port);
    _RedisCTX=redisConnect(host,port);

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