Problem/Motivation

The actions store their results in the expirable key value store for http_client_manager under the key last result for a period of 5 seconds. This may cause issues when concurrent users are triggering such actions, as they would easily overwrite their result for each other.

Proposed resolution

Change the storage to a private temporary key value store.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jurgenhaas created an issue. See original summary.

jurgenhaas’s picture

Status: Active » Needs review

This is now using the private temp store, which is nice because the values are only available for as long as the current request. That means, ECA can collect the result from the storage, but nobody needs to bother about cleaning up later on.

rocketeerbkw’s picture

Status: Needs review » Reviewed & tested by the community

Tested with the new actions in #3330979: New actions to access key value stores and I'm able to retrieve results as expected.

  • jurgenhaas authored 23a1a558 on 9.3.x
    Issue #3330976 by jurgenhaas: Change the storage location for command...
aronne’s picture

Status: Reviewed & tested by the community » Fixed

Thank you @jurgenhaas,
patch applied and is gonna get released in a couple mins.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.