Browse Source

reduce MIN_CORE_FILEDESCRIPTORS again, now that we have a single leveldb for all torrents.

MIN_CORE_FILEDESCRIPTORS can't be much higher because it will limit nMaxConnections.
miguelfreitas
Miguel Freitas 11 years ago
parent
commit
8631460293
  1. 2
      src/clientversion.h
  2. 2
      src/init.cpp

2
src/clientversion.h

@ -8,7 +8,7 @@
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it // These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it
#define CLIENT_VERSION_MAJOR 0 #define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 9 #define CLIENT_VERSION_MINOR 9
#define CLIENT_VERSION_REVISION 03 #define CLIENT_VERSION_REVISION 04
#define CLIENT_VERSION_BUILD 0 #define CLIENT_VERSION_BUILD 0
// Set to true for release, false for prerelease or test build // Set to true for release, false for prerelease or test build

2
src/init.cpp

@ -51,7 +51,7 @@ CClientUIInterface uiInterface;
// anyway. // anyway.
#define MIN_CORE_FILEDESCRIPTORS 0 #define MIN_CORE_FILEDESCRIPTORS 0
#else #else
#define MIN_CORE_FILEDESCRIPTORS 1000 #define MIN_CORE_FILEDESCRIPTORS 500
#endif #endif
// Used to pass flags to the Bind() function // Used to pass flags to the Bind() function

Loading…
Cancel
Save