Remove console logs

This commit is contained in:
Guntis Smaukstelis
2025-02-26 13:32:07 +02:00
parent 5e47a336e6
commit 2206e1018a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ class DataService(log: Logger[IO]) {
} }
for { for {
_ <- logMemory // _ <- logMemory
result <- fileResource.use { file => result <- fileResource.use { file =>
IO.blocking { IO.blocking {
val buffer = new Array[Byte](length) val buffer = new Array[Byte](length)
-1
View File
@@ -27,7 +27,6 @@ export async function processPromisesInBatches<T>(
while(await promiseFns.length > 0) { while(await promiseFns.length > 0) {
const size = Math.min(batchSize, promiseFns.length) const size = Math.min(batchSize, promiseFns.length)
const batchPromises = promiseFns.splice(0, size) const batchPromises = promiseFns.splice(0, size)
console.log('process:', batchPromises.length)
const batchResults = await processPromises(batchPromises, onProgress) const batchResults = await processPromises(batchPromises, onProgress)
results.push(...batchResults) results.push(...batchResults)
} }