Project

General

Profile

Actions

Refactor #28889

closed

Refactor task actions to use Foreman interval middleware

Added by Jeremy Lenz almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Branch:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In webpack/scenes/Tasks/TaskActions.js, there are 2 functions that use API polling - pollBulkSearch and pollTaskUntilDone.

(On the previous refactor for async/await, pollTaskUntilDone was skipped due to the complexity of the function)

These should be refactored to take advantage of the new Interval middleware and API middleware in Foreman.

Actions

Also available in: Atom PDF