complex-tp.cfg
来自「The Staged Event-Driven Architecture (SE」· CFG 代码 · 共 63 行
CFG
63 行
<sandstorm> <global> <profile> enable true delay 100 </profile> <batchController> maxBatch 1 </batchController> <threadPool> initialThreads 1 minThreads 1 maxThreads 10000 <sizeController> enable true autoMaxDetect true delay 1000 threshold 1 idleTimeThreshold 10000000 </sizeController> </threadPool> </global> <stages># <ClientStage># class ClientStage# <initargs># recv_handler RecvStage# </initargs># <threadPool># maxThreads 1# </threadPool># </ClientStage> <RecvStage> class RecvStage <initargs> next_handler ProcessStage </initargs> <threadPool> maxThreads 1 </threadPool> </RecvStage> <ProcessStage> class ProcessStageComplex# queueThreshold 1000 <initargs> num_loops 100000 </initargs> </ProcessStage> </stages></sandstorm>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?