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

If-Modified-Since granularity issue #6

Open
jmacauley opened this issue May 3, 2018 · 0 comments
Open

If-Modified-Since granularity issue #6

jmacauley opened this issue May 3, 2018 · 0 comments

Comments

@jmacauley
Copy link
Collaborator

HTTP If-Modified-Since has second level granularity, however, MRML model version has a millisecond granularity. Current code compares If-Modified-Since parameter against a rounded down model version value. This can cause an issue if a new model is received in the same second as the previous model AND the SENSE-O queries the model after the first, but before the second model update is received.

I have added this note to track this issue. I recommend implementing push notifications to address the update issue so polling with If-Modified-Since would no longer be required.

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

No branches or pull requests

1 participant