# Feature OP-7301 - Optimize boards view request economy and error handling

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

## 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

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| OP-7311 | Don't poll queries in boards in inactive tabs | Feature | closed |  | 10.6.3 |  |

## 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

Right now several users are running into 429 (too many requests) errors when using boards. This is, as the name implies, due to requests being rejected due to the rate limit we have in place.

We can of course just increase the rate limit but it's there for a reason and these issues occurred when it was at 40 requests per second already.

Right now we do many single requests.

  - 1 for each query (list)
  - 1 for each version in a version board
  - 1 for each status in a status board

These can add up quite quickly.  Possible improvements:

  - get all statuses in one request
  - get all versions in one request
  - handle 429 error responses for query requests in the frontend, i.e. try again later rather than giving up and showing the error
