Remove console logs
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user