Commit 64571d29 authored by jan.koester's avatar jan.koester
Browse files

media removed thread support

parent 890eb1de
Loading
Loading
Loading
Loading
+21 −27
Original line number Diff line number Diff line
@@ -28,7 +28,6 @@
#include <iostream>
#include <algorithm>
#include <cstring>
#include <thread>

#include <httppp/exception.h>
#include <httppp/httpd.h>
@@ -69,8 +68,6 @@ void blogi::RedisStore::load(libhttppp::HttpRequest *req,const char *key,const c
        throw e;
    }


    std::thread t1([this,req,key,ctype](){
    try{
        redisReply *rep=(redisReply*)redisCommand(_RedisCTX,"GET %s",key);

@@ -95,7 +92,4 @@ void blogi::RedisStore::load(libhttppp::HttpRequest *req,const char *key,const c
        curres.setState(HTTP501);
        curres.send(req,e.what(),strlen(e.what()));
    }
    });

    t1.detach();
}