GeoIP cluster service works.
This commit is contained in:
parent
e07bae2525
commit
1bc451ed10
3 changed files with 19 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue