Skip to content

Commit

Permalink
router: missing word in doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiceatscion committed Nov 15, 2023
1 parent 49826fa commit 65a4fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/manuals/router.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ Environment Variables
Specified by the GO runtime. The Go runtime starts a number kernel threads such that the number
of non-sleeping threads never exceeds ``GOMAXPROCS``. By default ``GOMAXPROCS`` is equal to the
number of cores in the host. That value can be changed via the ``GOMAXPROCS`` environment
variable (or programatically by the application code).
`go runtime documentation <https://pkg.go.dev/runtime#hdr-Environment_Variables>`_
variable (or programatically by the application code). See
`the go runtime documentation <https://pkg.go.dev/runtime#hdr-Environment_Variables>`_
for more information. One reason to change this is running multiple routers on the same host.
In such a case, it is best to split the available cores among the routers, lest Go's default
assumptions causes them to compete for cores and incurr futile context switching. This precaution
Expand Down

0 comments on commit 65a4fe5

Please sign in to comment.