mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-21 15:38:40 +03:00
Merge pull request #5214 from jberryman/5190-improve-websockets-idle-memory-v2-only-kc8
Lower stack chunk size in RTS to reduce thread STACK memory (closes #5190)
This commit is contained in:
commit
93104e616f
@ -20,6 +20,7 @@
|
||||
|
||||
(Add entries here in the order of: server, console, cli, docs, others)
|
||||
|
||||
- server: improve memory usage of idle websockets connections (#5190)
|
||||
- server: few relay fixes (fix #5020, #5037, #5046) (#5013)
|
||||
- server: raise error on startup when `--unauthorized-role` is ignored (#4736)
|
||||
- server: fix bug which arises when renaming/dropping a column on a remote relationship (#5005, #5119)
|
||||
|
@ -48,7 +48,11 @@ common common-exe
|
||||
-- limiting the parallel GC to 2 or 3 capabilities as a very conservative choice, since more
|
||||
-- than that is highly unlikely to ever be helpful. More benchmarking would be useful to know if
|
||||
-- this is the right decision. It’s possible it would better to just turn it off completely.
|
||||
"-with-rtsopts=-N -I2 -qn2"
|
||||
--
|
||||
-- `-kc8K` helps limit memory consumption in websockets (perhaps elsewhere) by making the
|
||||
-- cost of a thread's first (and probably only) stack overflow less severe.
|
||||
-- See:https://github.com/hasura/graphql-engine/issues/5190
|
||||
"-with-rtsopts=-N -I2 -qn2 -kc8K"
|
||||
|
||||
library
|
||||
import: common-all
|
||||
|
Loading…
Reference in New Issue
Block a user