aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvar Refsdal <ivar.refsdal@nsd.no>2021-09-15 16:10:09 +0200
committerIvar Refsdal <ivar.refsdal@nsd.no>2021-09-15 16:10:09 +0200
commitf33b93c569e92db3a1be8c7fd19bcf33937a2432 (patch)
treecc935211d6ec2715cc48bf35362d79e14f1864b8 /src
parentOnly keep handlers from old config (diff)
downloadfiinha-f33b93c569e92db3a1be8c7fd19bcf33937a2432.tar.gz
fiinha-f33b93c569e92db3a1be8c7fd19bcf33937a2432.tar.xz
Only keep handlers from old config
Diffstat (limited to 'src')
-rw-r--r--src/com/github/ivarref/yoltq.clj2
1 files changed, 1 insertions, 1 deletions
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)))