zackster
04/16/2025, 6:29 PMemergence
04/17/2025, 12:56 PMzackster
04/17/2025, 6:48 PMErin Brewer
04/17/2025, 11:02 PM<cfargument name="keywordSearchConfig" type="struct" required="no" default={}>
Argument [keywordSearchConfig] is of invalid type, Cannot cast String [{}] to a value of type [struct]
Carl Jagerski
04/19/2025, 5:18 AMleftbower
04/22/2025, 11:39 PMristo
04/23/2025, 5:55 PMemergence
04/23/2025, 9:27 PMdswitzer
04/23/2025, 9:28 PMisInstanceOf()
, but this has huge performance impacts (I'm still on Lucee 5.4.6.9). See https://luceeserver.atlassian.net/browse/LDEV-4905 for details.
What's the fastest way to verify if a variable is an instance of a specific component?
The fastest method I've found so far is to use getMetaData()
and check the component name, but I feel like there's still got to be a faster way.
Using isInstanceOf()
the code I'm testing will take 15-30 seconds to run. Using getMetaData()
, the time drops down < 1s.Cage S
04/24/2025, 2:11 PMAsher Densmore-Lynn
04/24/2025, 2:48 PMPROTECTED
was a private scope for components and our Adobe CF and Lucee 4.x/5.x code is enthusiastically accepting our use of this scope but I can't find any documentation anywhere in the world that acknowledges this scope as a thing that exists. Can anyone tell me what I've done here?zackster
04/24/2025, 3:33 PMalholden
04/25/2025, 6:22 PM.close()
each connection after use?
Were getting quite a few of these in the logs (using Masa and S3 for images and assets).
Unable to execute HTTP request: Timeout waiting for connection from pool;com.amazonaws.SdkClientException
I found this:
https://stackoverflow.com/questions/17782937/connectionpooltimeoutexception-when-iterating-objects-in-s3?rq=4alholden
04/25/2025, 6:24 PMDavid Johnson
04/25/2025, 8:34 PMzackster
04/26/2025, 8:23 AMquetwo
04/27/2025, 1:55 AMzackster
04/27/2025, 12:43 PMzackster
04/28/2025, 4:33 PMBill Nourse
04/29/2025, 3:22 PMzackster
04/29/2025, 6:26 PMpaul
04/30/2025, 4:58 AMdswitzer
04/30/2025, 2:34 PMdswitzer
05/01/2025, 2:23 PMredtopia
05/01/2025, 9:05 PMzackster
05/02/2025, 10:00 AMDavid Johnson
05/02/2025, 1:48 PMMonte Chan
05/02/2025, 4:37 PMdswitzer
05/02/2025, 7:13 PM2016-04-11 18:30:06.083
gets converted to 2016-04-11 18:30:06.830
.
I suspect this could be affecting a lot of code that's deserializing JSON:
ds = deserializeJSON('["2016-04-11 18:30:06.083"]');
writeDump(dateTimeFormat(ds[1], "yyyy-mm-dd HH:nn:ss.lll"));
This will produce 2016-04-11 18:30:06.830
instead of 2016-04-11 18:30:06.083
.dswitzer
05/02/2025, 9:07 PM