Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] make re-index button in administrative console skip (5-minute) rate limitation #508

Open
ericprud opened this issue Jan 30, 2024 · 1 comment
Labels

Comments

@ericprud
Copy link

What components are related to the issue?

API, FDP Index

Which FDP are you using?

FDP managed by someone else

Version

Whatever's running at fdps.ejprd.semlab-leiden.nl

What happened?

The interface with the status and trashcan icons has a button with the title text "Synch FDP". That apparently emits a request which is subject to a 5-minute timeout for congestion control, i.e. if you've already pinged in the last 5 mins, the request is silently dropped, which leads users to think that the FDP was re-indexed and that the status didn't change. (Clever folks may notice that the Modification time didn't change, but that's a lot to ask of users.)

Ideally, the Synch FDP button would bypass the timeout by passing some extra parameter (maybe requiring authentication some day). Barring that, some user feedback that their request was dropped would at least reduce confusion and despair.

Relevant log output

No response

@kburger
Copy link
Contributor

kburger commented Jan 30, 2024

That sounds like a nice addition, thanks for the suggestion. The authentication is already in place, so adding an override type parameter should be possible. If we have/can get the timeout threshold information in the client it make perfect sense to inform them. Not sure about that one, a bit farther from my comfort zone.

I've created FAIRDataTeam/FAIRDataPoint-client#146 to track this issue in the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants