Skip to content

Instantly share code, notes, and snippets.

@rowanl
Created January 17, 2018 19:32
Show Gist options
  • Save rowanl/8b1eae0d9a9011fdf7d4c4d3c4882f64 to your computer and use it in GitHub Desktop.
Save rowanl/8b1eae0d9a9011fdf7d4c4d3c4882f64 to your computer and use it in GitHub Desktop.
playframework-kubernetes - Execution context for database calls
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