Set connection configuration option #9497
Replies: 7 comments
-
Right now it's not an option I believe, although it was discussed beforehand that maybe it should. |
Beta Was this translation helpful? Give feedback.
-
@epatpol Maybe set it via environment variables. This seems to be a the easiest solution. If later a configuration file is needed it would just globally set environment variable if not set already.
|
Beta Was this translation helpful? Give feedback.
-
Yes, we actually already have an env variable server which can be used to easily fetch the variable value from |
Beta Was this translation helpful? Give feedback.
-
@epatpol How do I use the environment server? |
Beta Was this translation helpful? Give feedback.
-
You need to inject it in the |
Beta Was this translation helpful? Give feedback.
-
@epatpol Thanks for pointing me in the right direction. Think it will be like https://github.com/theia-ide/theia/blob/master/packages/languages/src/browser/language-client-factory.ts#L34. See what I can do for a PR.
|
Beta Was this translation helpful? Give feedback.
-
Aren't those numbers too high anyway? It's good to be able to configure it through envs but we should have good defaults, too. @JamesDrummond what is the reason you want to change them? |
Beta Was this translation helpful? Give feedback.
-
How do I set connection configuration options such as https://github.com/theia-ide/theia/blob/master/packages/core/src/browser/messaging/connection.ts#L81 ?
Beta Was this translation helpful? Give feedback.
All reactions