Ah, of course. Thanks!



> On 10.01.2014, at 17:22, Viktor Klang (√) <notifications@github.com> wrote:
> 
> In akka-actor/src/main/scala/akka/dispatch/AbstractDispatcher.scala:
> 
> > @@ -421,3 +425,35 @@ class ForkJoinExecutorConfigurator(config: Config, prerequisites: DispatcherPrer
> >          config.getInt("parallelism-max")))
> >    }
> >  }
> > +
> > +class DefaultExecutorServiceConfigurator(config: Config, prerequisites: DispatcherPrerequisites, fallback: String ⇒ ExecutorServiceConfigurator) extends ExecutorServiceConfigurator(config, prerequisites) {
> > +  def createExecutorServiceFactory(id: String, threadFactory: ThreadFactory): ExecutorServiceFactory = {
> > +    prerequisites.defaultExecutionContext.map(defaultExecutorFactory(_)).getOrElse {
> > +      val log = new BusLogging(prerequisites.eventStream, "DefaultExecutorServiceConfigurator", this.getClass)
> Ah, but the user needs to know:
> 
> "Falling back to $fallback as akka.yaddaydadda.default-executor speficies as no defaultExecutionContext was passed into the ActorSystem on creation." (paraphrased)
> 
> Then the user knows why the message appears and how he/she can supply his/her own EC.
> 
> —
> Reply to this email directly or view it on GitHub.