Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Commit

Permalink
Increase waiting time for database queries to 15 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
mthmulders committed Aug 2, 2016
1 parent 87a4d59 commit 0bbadbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/scala/hyperion/rest/DailyHistoryService.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class DailyHistoryService(dailyHistoryActor: ActorRef)(implicit executionContext
extends Directives with HyperionJsonProtocol {
private[this] val logger = LoggerFactory.getLogger(getClass)

implicit val timeout = Timeout(500 milliseconds)
implicit val timeout = Timeout(15 seconds)

implicit val localDateDeserializer = new Deserializer[String, LocalDate] {
def apply(value: String) = Try(LocalDate.parse(value, ISO_DATE)) match {
Expand Down

0 comments on commit 0bbadbf

Please sign in to comment.