DOC: Formatting issues, see #2723

(cherry picked from commit 15abee84875cdb534056986b9172a38b57d24d92)
This commit is contained in:
Patrik Nordwall 2012-11-20 17:18:37 +01:00
parent 6a348e3c76
commit b06b0fa087
13 changed files with 56 additions and 30 deletions

View file

@ -46,7 +46,8 @@ class TimerBasedThrottlerSpec extends TestKit(ActorSystem("TimerBasedThrottlerSp
}
}))
// The throttler for this example, setting the rate
val throttler = system.actorOf(Props(new TimerBasedThrottler(3 msgsPer (1.second.dilated))))
val throttler = system.actorOf(Props(new TimerBasedThrottler(
3 msgsPer (1.second.dilated))))
// Set the target
throttler ! SetTarget(Some(printer))
// These three messages will be sent to the echoer immediately