From f33b93c569e92db3a1be8c7fd19bcf33937a2432 Mon Sep 17 00:00:00 2001 From: Ivar Refsdal Date: Wed, 15 Sep 2021 16:10:09 +0200 Subject: Only keep handlers from old config --- src/com/github/ivarref/yoltq.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/github/ivarref/yoltq.clj') diff --git a/src/com/github/ivarref/yoltq.clj b/src/com/github/ivarref/yoltq.clj index d04462f..d3eefef 100644 --- a/src/com/github/ivarref/yoltq.clj +++ b/src/com/github/ivarref/yoltq.clj @@ -78,7 +78,7 @@ :start-execute-time (atom {}) :system-error (atom {})} default-opts - (select-keys old-conf [:handlers]) + (if *test-mode* old-conf (select-keys old-conf [:handlers])) cfg) u/duration->nanos)))] new-cfg))) -- cgit v1.2.3