Skip to content

Commit

Permalink
up the scribe version for rate limiting max_conn change.
Browse files Browse the repository at this point in the history
Summary: ++ scribe ver

Trac Bug: #

Blame Rev:

Reviewed By: agiardullo

Test Plan: refer to max_conn commit

Revert: OK

git-svn-id: svn+ssh://tubbs/svnapps/fbomb/trunk/fbcode/scribe@14909 2248de34-8caa-4a3c-bc55-5e52d9d7b73a
  • Loading branch information
jsong authored and groys committed May 17, 2010
1 parent dd3caeb commit d4b3b48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scribe_server.h
Expand Up @@ -71,6 +71,8 @@ class scribeHandler : virtual public scribe::thrift::scribeIf,
inline void setServer(
boost::shared_ptr<apache::thrift::server::TNonblockingServer> & server) {
this->server = server;
unsigned long getMaxConn() {
return maxConn;
}
private:
boost::shared_ptr<apache::thrift::server::TNonblockingServer> server;
Expand All @@ -93,6 +95,7 @@ class scribeHandler : virtual public scribe::thrift::scribeIf,
time_t lastMsgTime;
unsigned long numMsgLastSecond;
unsigned long maxMsgPerSecond;
unsigned long maxConn;
unsigned long long maxQueueSize;
StoreConf config;
bool newThreadPerCategory;
Expand Down

0 comments on commit d4b3b48

Please sign in to comment.