mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-04 19:21:51 +00:00
fix(ui): extend integration poll timeouts to 60s (#11519)
This commit is contained in:
@@ -54,6 +54,7 @@ All notable changes to the **Prowler UI** are documented in this file.
|
||||
|
||||
- Compliance page now loads the most recent scan when opened from the sidebar instead of showing the "no compliance data available" alert [(#11374)](https://github.com/prowler-cloud/prowler/pull/11374)
|
||||
- Invitation links now show specific expired, no-longer-valid, and invalid-token messages based on API error responses [(#11376)](https://github.com/prowler-cloud/prowler/pull/11376)
|
||||
- Jira dispatch and provider connection-test polling no longer show a false timeout for longer-running tasks; both poll windows now extend to 60 seconds [(#11519)](https://github.com/prowler-cloud/prowler/pull/11519)
|
||||
|
||||
### 🔐 Security
|
||||
|
||||
|
||||
@@ -286,7 +286,7 @@ const pollTaskUntilComplete = async (
|
||||
taskId: string,
|
||||
): Promise<PollConnectionResult> => {
|
||||
const settled = await pollTaskUntilSettled<ConnectionTaskResult>(taskId, {
|
||||
maxAttempts: 10,
|
||||
maxAttempts: 20,
|
||||
delayMs: 3000,
|
||||
});
|
||||
|
||||
|
||||
@@ -148,7 +148,7 @@ export const pollJiraDispatchTask = async (
|
||||
{ success: true; message: string } | { success: false; error: string }
|
||||
> => {
|
||||
const res = await pollTaskUntilSettled(taskId, {
|
||||
maxAttempts: 10,
|
||||
maxAttempts: 30,
|
||||
delayMs: 2000,
|
||||
});
|
||||
if (!res.ok) {
|
||||
|
||||
Reference in New Issue
Block a user