You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (Jira)" <ji...@apache.org> on 2026/05/01 12:16:00 UTC
[jira] [Assigned] (OFBIZ-13395) Enhance ServiceSemaphore to support parameter-based semaphore locking
[ https://issues.apache.org/jira/browse/OFBIZ-13395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepak Dixit reassigned OFBIZ-13395:
------------------------------------
Assignee: Deepak Dixit
> Enhance ServiceSemaphore to support parameter-based semaphore locking
> ---------------------------------------------------------------------
>
> Key: OFBIZ-13395
> URL: https://issues.apache.org/jira/browse/OFBIZ-13395
> Project: OFBiz
> Issue Type: New Feature
> Reporter: Deepak Dixit
> Assignee: Deepak Dixit
> Priority: Minor
>
> Enhance the existing {{ServiceSemaphore}} mechanism to support locking based on selected service parameters, instead of locking only at the service level.
> Currently, if a service is protected by a semaphore, only one instance of that service can run at a time. However, in some cases the service should be allowed to run simultaneously when the execution context is different.
> For example:
> * Same service can run in parallel for different {{productStoreId}}
> * Same service can run in parallel for different {{facilityId}}
> * Same service should be blocked only when the configured semaphore parameters match
> This feature will make the semaphore framework more flexible and allow better parallel processing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)