Merge pull request #17379 from drewhk/wip-17308-increase-sync-file-spec-timeout-drewhk

=str #17308: Don't do blocking prefetch before subscription in fileSource
This commit is contained in:
drewhk 2015-05-07 15:36:31 +02:00
commit f9eb43ccd2

View file

@ -47,7 +47,6 @@ private[akka] class SynchronousFilePublisher(f: File, bytesReadPromise: Promise[
try {
raf = new RandomAccessFile(f, "r") // best way to express this in JDK6, OpenOption are available since JDK7
chan = raf.getChannel
readAndSignal(initialBuffer)
} catch {
case ex: Exception
onErrorThenStop(ex)