diff --git a/builds/install/misc/firebird.conf b/builds/install/misc/firebird.conf index a9d45e9908..8b626fd57a 100644 --- a/builds/install/misc/firebird.conf +++ b/builds/install/misc/firebird.conf @@ -447,25 +447,6 @@ # #PrioritySwitchDelay = 100 -# -# Number of cycles of the scheduler (PrioritySwitchDelay ms) before -# thread are destroyed/closed. Rather than immediately destroy/closed -# worker threads (which would require a semaphore and blocking call -- -# significant overhead), the thread scheduler maintains a pool of the -# threads. When a thread has completed it's task/work, it is marked as -# idle. The idle thread is destroyed/closed after X iterations of the -# scheduler loop. -# -# For a server with a very large number of connections (presumably more -# than several hundred) the setting value should be increased. -# -# The setting represents the number of loop iterations to be made before -# the thread is destroyed/closed. -# -# Type: integer -# -#DeadThreadsCollection = 50 - # # Number of additional 'intervals' given to a 'High' priority thread. # diff --git a/src/common/config/config.cpp b/src/common/config/config.cpp index 9a3606c65a..3efbe8d393 100644 --- a/src/common/config/config.cpp +++ b/src/common/config/config.cpp @@ -373,14 +373,6 @@ int Config::getPrioritySwitchDelay() return rc; } -int Config::getDeadThreadsCollection() -{ - int rc = (int) sysConfig.values[KEY_DEAD_THREADS_COLLECTION]; - if (rc < 1) - rc = 1; - return rc; -} - int Config::getPriorityBoost() { int rc = (int) sysConfig.values[KEY_PRIORITY_BOOST]; diff --git a/src/common/config/config.h b/src/common/config/config.h index 566840ec16..7bfd655fb7 100644 --- a/src/common/config/config.h +++ b/src/common/config/config.h @@ -229,11 +229,6 @@ public: */ static int getPrioritySwitchDelay(); - /* - Dead threads collection - */ - static int getDeadThreadsCollection(); - /* Priority boost */ diff --git a/src/jrd/os/win32/thd_priority.cpp b/src/jrd/os/win32/thd_priority.cpp index 2b14e786d1..a1bbe82cbe 100644 --- a/src/jrd/os/win32/thd_priority.cpp +++ b/src/jrd/os/win32/thd_priority.cpp @@ -37,7 +37,6 @@ // configurable parameters #define THPS_TIME (Config::getPrioritySwitchDelay()) // ms between rescheds -//#define THPS_TICKS (Config::getDeadThreadsCollection()) // sched loops before thread killing #include #include