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

Thrashing api.rit.edu #1

Open
acritelli opened this issue Oct 13, 2017 · 1 comment
Open

Thrashing api.rit.edu #1

acritelli opened this issue Oct 13, 2017 · 1 comment

Comments

@acritelli
Copy link
Member

Script is currently hammering api.rit.edu every ~3 seconds. Seems to be caused by a value of 3000 in the set interval in display.php

acritelli added a commit that referenced this issue Oct 13, 2017
* Adjusted set interval to every 30 mins (1000 * 60 * 30)
acritelli added a commit that referenced this issue Oct 13, 2017
We technically don't need a set-interval to refresh the page
Screenly should handle refreshing the page for us.
@acritelli
Copy link
Member Author

Changing the setInterval broke the page rendering for some reason. Tried removing the setInterval since we don't need it to refresh the page. Screenly handles that for us, and even if it didn't, we can do it in another way.

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

1 participant