GeoIP cluster service works.

This commit is contained in:
Adam Ierymenko 2015-10-22 10:41:15 -07:00
parent e07bae2525
commit 1bc451ed10
3 changed files with 19 additions and 14 deletions

View file

@ -37,6 +37,8 @@
#include <signal.h>
#include <errno.h>
#include <iostream>
#include "ClusterGeoIpService.hpp"
#include "../node/Utils.hpp"
#include "../osdep/OSUtils.hpp"
@ -163,6 +165,7 @@ void ClusterGeoIpService::threadMain()
{
Mutex::Lock _l2(_cache_m);
_cache[rip] = ce;
std::cout << ">> " << linebuf << std::endl;
}
}
}