Reduce log file size
This commit is contained in:
parent
9078919545
commit
8703b0e020
2 changed files with 1 additions and 6 deletions
|
@ -7,7 +7,7 @@ import { join } from 'path';
|
||||||
import { Worker } from 'worker_threads';
|
import { Worker } from 'worker_threads';
|
||||||
|
|
||||||
const ASAR_PATTERN = /app\.asar$/;
|
const ASAR_PATTERN = /app\.asar$/;
|
||||||
const MIN_TRACE_DURATION = 10;
|
const MIN_TRACE_DURATION = 40;
|
||||||
|
|
||||||
export type InitializeOptions = {
|
export type InitializeOptions = {
|
||||||
readonly configDir: string;
|
readonly configDir: string;
|
||||||
|
|
|
@ -1058,7 +1058,6 @@ export default class MessageReceiver
|
||||||
certificate,
|
certificate,
|
||||||
unsealedContent: messageContent,
|
unsealedContent: messageContent,
|
||||||
};
|
};
|
||||||
const newLogId = this.getEnvelopeId(newEnvelope);
|
|
||||||
|
|
||||||
const validationResult = await this.validateUnsealedEnvelope(newEnvelope);
|
const validationResult = await this.validateUnsealedEnvelope(newEnvelope);
|
||||||
if (validationResult && validationResult.isBlocked) {
|
if (validationResult && validationResult.isBlocked) {
|
||||||
|
@ -1066,10 +1065,6 @@ export default class MessageReceiver
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
window.log.info(
|
|
||||||
`MessageReceiver.unsealEnvelope(${logId}): unwrapped into ${newLogId}`
|
|
||||||
);
|
|
||||||
|
|
||||||
return newEnvelope;
|
return newEnvelope;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue