jakartaee / jakartaee/faces

specifiy parameter 'queue' to define AJAX queue size

Open
#726 12 comments 0 reactions 0 assignees View on GitHub
Priority: Minor Type: Improvement
Dominant language
Java
Stars
127
Forks
59
Avg merge
23h
Merged PRs (30d)
7

Description

The 2.0 spec specifies an unlimited ajax queue, though for most usages a queue
size of 1 is appropriate.

This param makes the queue size configurable. Follow up requests would replace
prior request if the queue is full.

On jsr-314-open it was discussed whether queue size is a general config param,
but this doesn't hit the nail:

The desired queue size can differ with each use case, so it is meant to define
the number of queue elements one use case tolerates before throwing one out, so
f:ajax/jsf.ajax.request are the right place to put it.
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[2.0]

Contributor guide

Open the contributing guide

Research direction

Start with the f:ajax and jsf.ajax.request entry points named in the issue, then trace how the AJAX request queue is configured and enforced. Check the existing JSF AJAX tests before defining coverage for a per-use-case queue size and replacement of older requests when full.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.