-
Notifications
You must be signed in to change notification settings - Fork 44
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
[36] – Feature: Polling #72
Conversation
export const DATA_PER_PAGE = 50; | ||
export const PAGE_SIZE_OPTIONS = [10, 25, 50, 100, 200]; | ||
|
||
// TABLE POLLING CONSTANTS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can improve this maybe. we are sure the lambda function takes ~30 sec to run... so maybe in the interval [20, 60] seconds we need to poll more frequently. can schedule it better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a comment.. do write a description of PR
- do we also "gray" the row to indicate pending status ? or no need? up to you
7da173f
to
da0386a
Compare
da0386a
to
d70da8a
Compare
Faded the row is its status is pending. |
Implemented polling strategy to ensure the data displayed in the UI is always up-to-date, enhancing the overall responsiveness and speed of the user interface.
Use Constant
POLLING_INTERVAL
to change the interval timing.Current its
30 sec
Disabled edit if the session is in pending state.