Improvement based on feedback. See #1702
This commit is contained in:
parent
05d4a6ed38
commit
6a4d7f547c
2 changed files with 4 additions and 3 deletions
|
|
@ -53,8 +53,8 @@ public class SettingsExtensionDocTestBase {
|
|||
|
||||
//#extension-usage-actor
|
||||
public static class MyActor extends UntypedActor {
|
||||
Connection connection = connect(Settings.instance.get(getContext().system()).DB_URI,
|
||||
Settings.instance.get(getContext().system()).CIRCUIT_BREAKER_TIMEOUT);
|
||||
final SettingsImpl settings = Settings.instance.get(getContext().system());
|
||||
Connection connection = connect(settings.DB_URI, settings.CIRCUIT_BREAKER_TIMEOUT);
|
||||
|
||||
//#extension-usage-actor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue