From 15517a862a316c9f9ac8346d02b358493a566c47 Mon Sep 17 00:00:00 2001 From: Eric Ihli Date: Wed, 21 Jul 2021 20:45:49 -0500 Subject: [PATCH] Extend haproxy timeout --- load-balancer/haproxy.cfg | 5 ++--- web/src/com/darklimericks/server/views.clj | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/load-balancer/haproxy.cfg b/load-balancer/haproxy.cfg index 9bc7161..eb3ed8d 100644 --- a/load-balancer/haproxy.cfg +++ b/load-balancer/haproxy.cfg @@ -1,7 +1,6 @@ defaults - timeout connect 10s - timeout client 30s - timeout server 30s + timeout connect 30s + timeout server 120s mode http frontend http-in diff --git a/web/src/com/darklimericks/server/views.clj b/web/src/com/darklimericks/server/views.clj index fa50f0f..fe5acc1 100644 --- a/web/src/com/darklimericks/server/views.clj +++ b/web/src/com/darklimericks/server/views.clj @@ -318,6 +318,7 @@ they will all end with a word that rhymes with your target word or phrase."] [:p.tl "One way to use this input field is to find a rhyming phrase that you like and then copy and paste that rhyming phrase into the Generate Lyric From Seed field to generate many lines that all end with that specific phrase."] + [:p.tl "Note: this request is computationally expensive and may take some time to complete."] (form/form-to [:get (util/route-name->path request @@ -345,6 +346,7 @@ lyric."] [:p.tl "A good way to use this field is to first use the Generate Rhyming Lyric field above to find a rhyming phrase that you like, then use this field to generate prefixes to that rhyming phrase."] + [:p.tl "Note: this request is computationally expensive and may take some time to complete."] (form/form-to [:get (util/route-name->path request