fix two comments from Patrik
- map Iterable to Vector using breakOut instead of «Vector() ++ ...» - give a name to the Pi sample actor system
This commit is contained in:
parent
db7dd9450c
commit
4b2b41e725
3 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ object Pi extends App {
|
|||
// ===== Run it =====
|
||||
// ==================
|
||||
def calculate(nrOfWorkers: Int, nrOfElements: Int, nrOfMessages: Int) {
|
||||
val system = ActorSystem()
|
||||
val system = ActorSystem("PiSystem")
|
||||
|
||||
// this latch is only plumbing to know when the calculation is completed
|
||||
val latch = new CountDownLatch(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue