add conf override to Pi sample, see #1763
This commit is contained in:
parent
9ba5043539
commit
96486428e1
3 changed files with 31 additions and 0 deletions
|
|
@ -397,6 +397,18 @@ When this in done we can run our application directly inside Maven::
|
|||
|
||||
Yippee! It is working.
|
||||
|
||||
Overriding Configuration Externally
|
||||
-----------------------------------
|
||||
|
||||
The sample project includes an ``application.conf`` file in the resources directory:
|
||||
|
||||
.. includecode:: ../../akka-tutorials/akka-tutorial-first/src/main/resources/application.conf
|
||||
|
||||
If you uncomment the two lines, you should see a change in performance,
|
||||
hopefully for the better. It should be noted that overriding only works if a
|
||||
router type is given, so just uncommenting ``nr-of-instances`` does not work;
|
||||
see :ref:`routing-java` for more details.
|
||||
|
||||
Conclusion
|
||||
----------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue