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 @   delphi中间件  阅读(272)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2020-02-17 传输数据?还是传递逻辑?
点击右上角即可分享
微信分享提示