From 30eeafcbd975c7db3fa5d2ad0e280c8a434106cb Mon Sep 17 00:00:00 2001 From: Michael Born Date: Thu, 16 Jul 2026 12:01:21 -0400 Subject: [PATCH] Mark Document object as thread-safe Prevents issues with the injected `variables.config` object during concurrent usage. --- models/Document.cfc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Document.cfc b/models/Document.cfc index 5ae858b..2e6ccd5 100644 --- a/models/Document.cfc +++ b/models/Document.cfc @@ -7,7 +7,7 @@ * @license Apache v2.0 * */ -component accessors="true" { +component threadsafe accessors="true" { property name="config" inject="Config@cbelasticsearch";