mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Reduce log spam
This commit is contained in:
@ -1711,7 +1711,7 @@ async function generateThumbnail(type, file) {
|
|||||||
const cachedStat = fs.statSync(pathToCachedFile);
|
const cachedStat = fs.statSync(pathToCachedFile);
|
||||||
|
|
||||||
if (originalStat.mtimeMs > cachedStat.ctimeMs) {
|
if (originalStat.mtimeMs > cachedStat.ctimeMs) {
|
||||||
console.log('Original file changed. Regenerating thumbnail...');
|
//console.log('Original file changed. Regenerating thumbnail...');
|
||||||
shouldRegenerate = true;
|
shouldRegenerate = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user