Oops meant to be 5s, not 300s...

This commit is contained in:
Raymond Hill 2024-09-17 18:10:09 -04:00
parent 11f43d4a3d
commit fe3846b72f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ function safeSelf() {
if ( args.length === 0 ) { return; }
const text = `[${document.location.hostname || document.location.href}]${args.join(' ')}`;
if ( text === lastLogText && type === lastLogType ) {
if ( (Date.now() - lastLogTime) < 300000 ) { return; }
if ( (Date.now() - lastLogTime) < 5000 ) { return; }
}
lastLogType = type;
lastLogText = text;