main work by @drewhk with contributions from @2m and @rkuhn This work uncovered many well-hidden bugs in existing Stages, in particular StatefulStage. These were hidden by the behavior of OneBoundedInterpreter that normally behaves more orderly than it guarantees in general, especially with respect to the timeliness of delivery of upstream termination signals; the bugs were then that internal state was not flushed when onComplete arrived “too early”.
12 lines
428 B
Scala
12 lines
428 B
Scala
package akka.stream.impl.io
|
|
|
|
import akka.stream.ActorAttributes
|
|
import akka.stream.Attributes
|
|
|
|
private[stream] object IOSettings {
|
|
|
|
final val SyncFileSourceDefaultChunkSize = 8192
|
|
final val SyncFileSourceName = Attributes.name("synchronousFileSource")
|
|
final val SyncFileSinkName = Attributes.name("synchronousFileSink")
|
|
final val IODispatcher = ActorAttributes.Dispatcher("akka.stream.default-blocking-io-dispatcher")
|
|
}
|