Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Revert "scribe: increase maximum thrift request size"
Browse files Browse the repository at this point in the history
This change is not in thrift opensource yet.
This reverts commit 44a23ec.
  • Loading branch information
groys committed May 17, 2010
1 parent d4b3b48 commit 55e7b4a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/scribe_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,7 @@ int main(int argc, char **argv) {
server->setOverloadAction(T_OVERLOAD_CLOSE_ON_ACCEPT);
}

// increase the maximum request size that thrift will accept
server->setMaxFrameSize(numeric_limits<size_t>::max());

server->serve();
server.serve();

} catch(const std::exception& e) {
LOG_OPER("Exception in main: %s", e.what());
Expand Down

0 comments on commit 55e7b4a

Please sign in to comment.