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';
|
||||
|
||||
const ASAR_PATTERN = /app\.asar$/;
|
||||
const MIN_TRACE_DURATION = 10;
|
||||
const MIN_TRACE_DURATION = 40;
|
||||
|
||||
export type InitializeOptions = {
|
||||
readonly configDir: string;
|
||||
|
|
|
@ -1058,7 +1058,6 @@ export default class MessageReceiver
|
|||
certificate,
|
||||
unsealedContent: messageContent,
|
||||
};
|
||||
const newLogId = this.getEnvelopeId(newEnvelope);
|
||||
|
||||
const validationResult = await this.validateUnsealedEnvelope(newEnvelope);
|
||||
if (validationResult && validationResult.isBlocked) {
|
||||
|
@ -1066,10 +1065,6 @@ export default class MessageReceiver
|
|||
return undefined;
|
||||
}
|
||||
|
||||
window.log.info(
|
||||
`MessageReceiver.unsealEnvelope(${logId}): unwrapped into ${newLogId}`
|
||||
);
|
||||
|
||||
return newEnvelope;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue