# Feature OP-6012 - Add priority setting for Webhooks

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-6012

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

We have been experimenting with the Webhooks, and found that there was around 5 mins of latency between when a work package was updated and when the Webhook call was made.

After looking at the code we found a setting that allowed us to change this behavior to be instantaneous.

The suggestion here is to make this a configurable attribute, to allow a user to configure the behavior they want.

The setting is in the file:

/app/models/**journal\_notification\_mailer.rb**

On lines 53 and 60 is the value &quot;:notification&quot; is changed to &quot;:high&quot; the Webhooks seem to have no latency.
