=str #17377: Turn off debug validation

This commit is contained in:
Endre Sándor Varga 2015-05-07 15:20:25 +02:00
parent 9125a719fe
commit 605bbbce86
3 changed files with 2 additions and 7 deletions

View file

@ -60,7 +60,7 @@ private[akka] case class ActorFlowMaterializerImpl(
}
override def materialize[Mat](runnableFlow: Graph[ClosedShape, Mat]): Mat = {
runnableFlow.module.validate()
if (StreamLayout.Debug) runnableFlow.module.validate()
val session = new MaterializerSession(runnableFlow.module) {
private val flowName = createFlowName()