All work

 

runAsync isn't very async compared to ACF

Description

Environment

None

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 17 February 2023 at 03:05
Updated 30 April 2024 at 11:56

Activity

Pothys - MitrahSoft 
21 March 2023 at 15:12

I've checked this ticket and confirmed the issue happened on the lucee latest version 5.4.0.37-SNAPSHOT.
The runAsync() didn't runs asynchronously compare to ACF-2021.

For running the 3 runAsync() operation each takes 3 seconds to complete two then executions. Lucee takes approximately 7 seconds to complete 3 runAsync(). Seems ACF takes approximately 3 seconds to complete. So ACF rans that all runAsync() in parallel. Lucee rans that all runAsync() in partially parallel.

Also ACF logs looks like, defining the new runAsync in rows, not waiting to previous one start execute.

 

But Lucee logs looks like, the new runAsync is defined after the previously defined one start and execute the then operation.