Skip to content

Commit 72c00ae

Browse files
committed
Fix timeout in local garden run
1 parent 6759b51 commit 72c00ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nextjournal/garden_cli.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
(doto (Thread. (fn [] (if (:success (wait-for #(try (<= 200
180180
(:status (http/head url {:client (http/client {:follow-redirects :never})}))
181181
399)
182-
(catch Throwable _ false))))
182+
(catch Throwable _ false)) timeout-seconds))
183183
(println "Application ready on" url)
184184
(do
185185
(print-error (format "Application did not start after %ss." timeout-seconds))

0 commit comments

Comments
 (0)