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

Return to user's last seen page on PaginatedState after timeout #223

Open
gsvr opened this issue May 26, 2015 · 2 comments
Open

Return to user's last seen page on PaginatedState after timeout #223

gsvr opened this issue May 26, 2015 · 2 comments

Comments

@gsvr
Copy link
Contributor

gsvr commented May 26, 2015

It would be ideal if this would also work if a special timeout state is interjected like in go-refugeerights state_timed_out.

@hodgestar
Copy link
Contributor

I think this could be approached in one of two ways. Either we could add an option for setting and retrieving page_start (i.e. the current starting point for the list) or you could arrange for the go-refugeerights time out state to record the previous state's metadata in addition to its name and creator_opts. The latter solution covers all state types and so is probably better for go-refugeerights. Having the option of setting page_start might still be nice though.

@gsvr
Copy link
Contributor Author

gsvr commented May 27, 2015

Yeah, I thought it might be two different implementations for with and without a timed_out state, but thought I'd leave that comment in case it could be architected to work for both. I think it would still be useful in the cases where we don't have a timed_out state.

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

No branches or pull requests

2 participants