mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Increase maxBuffer size when reading windows CAs
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
5019781fbf
commit
18b6b4ca2e
@ -32,7 +32,9 @@ const requestSystemCAsInjectable = getInjectable({
|
||||
* This needs to be done manually because for some reason calling the api from "win-ca"
|
||||
* directly fails to load "child_process" correctly on renderer
|
||||
*/
|
||||
const result = await execFile(wincaRootsExePath);
|
||||
const result = await execFile(wincaRootsExePath, {
|
||||
maxBuffer: 128 * 1024 * 1024, // 128 MiB
|
||||
});
|
||||
|
||||
if (!result.callWasSuccessful) {
|
||||
logger.warn(`[INJECT-CAS]: Error retreiving CAs`, result.error);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user