From 1f555e8edb813036cc2af76148f09164929a679f Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Tue, 25 Apr 2023 11:07:16 -0700 Subject: [PATCH] Running a rule might be slow --- src/clj/auto_ap/graphql/transaction_rules.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clj/auto_ap/graphql/transaction_rules.clj b/src/clj/auto_ap/graphql/transaction_rules.clj index d75c8446..1639ee4f 100644 --- a/src/clj/auto_ap/graphql/transaction_rules.clj +++ b/src/clj/auto_ap/graphql/transaction_rules.clj @@ -116,7 +116,8 @@ ])] :in ['$ ] :where []} - :args [(dc/db conn)]} + :args [(dc/db conn)] + :timeout 55000} description (merge-query {:query {:in ['?descr] :where ['[(iol-ion.query/->pattern ?descr) ?description-regex]]}