From a54b2d4b9d06bb7f9a54043ea08c7e90eb503894 Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Mon, 30 Jul 2018 16:03:58 +0200 Subject: [PATCH] revert to sleeping --- project.clj | 2 +- src/leiningen/neo4j.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/project.clj b/project.clj index df194f6..77560ab 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject joshavg/lein-neo4j "0.3.0" +(defproject joshavg/lein-neo4j "0.4.0" :description "neo4j server invokable from leiningen" :url "https://gitea.heevyis.ninja/josha/lein-neo4j" :license {:name "GPL-3.0" diff --git a/src/leiningen/neo4j.clj b/src/leiningen/neo4j.clj index 09cc3d8..dea78e3 100644 --- a/src/leiningen/neo4j.clj +++ b/src/leiningen/neo4j.clj @@ -12,4 +12,4 @@ config (get-in project [:neo4j :config] {}) server (CommunityBootstrapper.)] (.start server path (Optional/empty) config) - (while (not= nil (read-line))))) + (while true (Thread/sleep 5000))))