Change the default max threads to something more reasonable

pull/16081/head
Sree Kuchibhotla 7 years ago
parent f669dbcfea
commit 8f39834dd1
  1. 4
      src/cpp/server/server_cc.cc

@ -48,10 +48,10 @@ namespace grpc {
namespace {
// The default value for maximum number of threads that can be created in the
// sync server. This value of 1500 is empirically chosen. To increase the max
// sync server. This value of 500 is empirically chosen. To increase the max
// number of threads in a sync server, pass a custom ResourceQuota object (with
// the desired number of max-threads set) to the server builder
#define DEFAULT_MAX_SYNC_SERVER_THREADS 1500
#define DEFAULT_MAX_SYNC_SERVER_THREADS 500
class DefaultGlobalCallbacks final : public Server::GlobalCallbacks {
public:

Loading…
Cancel
Save