realthinclient线程池

realthinclient线程池

RtcHttpServer1.MultiThreaded:=true;

如无必要,就用默认的线程池参数即可。

unit rtcThrPool;

var
  // Max. number of unused threads to keep active
  RTC_THREAD_POOL_OVERSIZE:word=256;
  // Max. number of "normal" Threads in our thread pool.
  RTC_THREAD_POOL_MAX:word=128;
  // Absolute Thread Pool Limit, including high priority threads.
  RTC_THREAD_POOL_LIMIT:word=256;
  // Maximum time (in seconds) allowed for all worker threads to close when shutting down
  RTC_THREAD_POOL_CLOSEWAIT:word=30;
  // Maximum time (in seconds) allowed for the last worker thread to close when shutting down
  RTC_THREAD_POOL_CLOSELAST:word=5;
  // "Sleep" time (in milliseconds) after every executed job
  RTC_THREAD_SLEEP:integer=0;
  // Time limit (milliseconds) for running multiple events in the Main Thread
  RTC_THREAD_SYNCLIMIT:integer=250;
posted @ 2022-02-17 09:36  delphi中间件  阅读(262)  评论(0编辑  收藏  举报