Created
January 17, 2018 19:32
-
-
Save rowanl/8b1eae0d9a9011fdf7d4c4d3c4882f64 to your computer and use it in GitHub Desktop.
playframework-kubernetes - Execution context for database calls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DatabaseExecutionContext extends CustomExecutionContext { | |
@Inject | |
public DatabaseExecutionContext(ActorSystem actorSystem) { | |
super(actorSystem, "database.dispatcher"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment