Skip to content

Commit

Permalink
Rm logs
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Dec 17, 2024
1 parent 38c3c02 commit af41f97
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class DefaultProcessFileTask(
override suspend fun execute() {
outputQueue.use {
inputQueue.consume().collect { (streamDescriptor, file, index) ->
log.error { "consuming index $index" }
val streamLoader = syncManager.getOrAwaitStreamLoader(streamDescriptor)

val acc = accumulators.getOrPut(streamDescriptor) {
Expand All @@ -52,19 +51,16 @@ class DefaultProcessFileTask(

if (read == -1) {
handleFilePart(file, ByteArray(0), index, true, acc, streamDescriptor, index)
log.error { "end of file" }
break
} else if (read < bytePart.size) {
handleFilePart(file, bytePart.copyOfRange(0, read), index, true, acc, streamDescriptor, index)
log.error { "end of file" }
break
} else {
handleFilePart(file, bytePart, index, false, acc, streamDescriptor, index)
}
}
localFile.delete()
}
log.error { "Closing input queue" }
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ class DefaultInputConsumerTask(
reserved.release() // safe because multiple calls conflate
manager.markEndOfStream(true)
fileTransferQueue.close()
log.error { "End Of Stream" }
val envelope =
BatchEnvelope(
SimpleBatch(Batch.State.COMPLETE),
Expand Down

0 comments on commit af41f97

Please sign in to comment.