Skip to content

Commit

Permalink
optimize management.server.restlight.biz-threads.xxx configuration (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mkabaka authored Jun 16, 2021
1 parent b847f4c commit e4136d4
Showing 1 changed file with 48 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,33 +91,77 @@
"defaultValue": "1",
"description": "Thread num of netty worker event loop group"
},
{
"name": "management.server.restlight.biz-threads.core",
"type": "java.lang.Integer",
"description": "Thread num of cor biz thread pool",
"sourceType": "esa.restlight.server.config.BizThreadsOptions",
"defaultValue": "2"
},
{
"sourceType": "esa.restlight.server.config.ServerOptions",
"name": "management.server.restlight.core-biz-threads",
"type": "java.lang.Integer",
"defaultValue": "2",
"description": "Thread num of cor biz thread pool"
"description": "Thread num of cor biz thread pool",
"deprecated": true,
"deprecation": {
"reason": "deprecated"
}
},
{
"name": "management.server.restlight.biz-threads.max",
"type": "java.lang.Integer",
"description": "Thread num of max biz thread pool",
"sourceType": "esa.restlight.server.config.BizThreadsOptions",
"defaultValue": "4"
},
{
"sourceType": "esa.restlight.server.config.ServerOptions",
"name": "management.server.restlight.max-biz-threads",
"type": "java.lang.Integer",
"defaultValue": "4",
"description": "Thread num of max biz thread pool"
"description": "Thread num of max biz thread pool",
"deprecated": true,
"deprecation": {
"reason": "deprecated"
}
},
{
"name": "management.server.restlight.biz-threads.blocking-queue-length",
"type": "java.lang.Integer",
"description": "Length of blocking queue",
"sourceType": "esa.restlight.server.config.BizThreadsOptions",
"defaultValue": "128"
},
{
"sourceType": "esa.restlight.server.config.ServerOptions",
"name": "management.server.restlight.blocking-queue-length",
"type": "java.lang.Integer",
"defaultValue": "128",
"description": "Length of blocking queue"
"description": "Length of blocking queue",
"deprecated": true,
"deprecation": {
"reason": "deprecated"
}
},
{
"name": "management.server.restlight.biz-threads.keep-alive-time-seconds",
"type": "java.lang.Long",
"description": "Keepalive time of max biz thread pool",
"sourceType": "esa.restlight.server.config.BizThreadsOptions",
"defaultValue": "30L"
},
{
"sourceType": "esa.restlight.server.config.ServerOptions",
"name": "management.server.restlight.keep-alive-time-seconds",
"type": "java.lang.Long",
"defaultValue": "30L",
"description": "Keepalive time of max biz thread pool"
"description": "Keepalive time of max biz thread pool",
"deprecated": true,
"deprecation": {
"reason": "deprecated"
}
},
{
"sourceType": "esa.restlight.server.config.ServerOptions",
Expand Down

0 comments on commit e4136d4

Please sign in to comment.