travis-web/assets/scripts/app
Piotr Sarnacki aaf35365b1 Don't process pusher events immediately when running in background
When user has Travis CI's web page open in the background we should not
process pusher events immediately, because she will not see the changes
on a page anyway. During peak hours we can get several messages per
second, which requires some CPU work almost all the time. By using
visibility API we can detect if the tab with Travis CI is in the
background and if that's the case we will process pusher messages in
batches every 5 minutes. This is much better for the CPU, because it
means one bigger spike every few minutes and additionally some of the
updates don't have to be done (for example if we get several job:started
events, Ember's run loop will process only last one when it comes to
rendering 'current' build).
2013-05-29 16:54:12 +03:00
..
controllers Don't set sortProperties to null 2013-05-29 13:51:21 +03:00
helpers Properly display matrix keys when build does not have all keys 2013-04-06 01:48:32 +02:00
models Show repo on repos list even if it's not complete, but has lastBuildId 2013-05-21 14:59:32 +02:00
store Changes for ember-data revision 12 2013-03-08 17:04:44 +01:00
templates Add newsletter link to "Community" menu. 2013-05-24 16:19:31 +02:00
views Download 2x images from Gravatar 2013-05-22 13:09:24 +02:00
app.coffee Fix tests with new Ember version 2013-05-15 18:46:41 +02:00
auth.coffee Update user data after sign in 2013-05-21 19:30:19 +02:00
controllers.coffee Revert "move log subscrition to a log controller" 2013-03-14 10:07:35 +01:00
helpers.coffee Fixed I18n handlebars helpers to update when locale changes 2012-12-11 08:54:43 +09:00
models.coffee Add @svenfuchs' log reimplementation 2013-02-22 17:00:50 +01:00
pusher.coffee Don't process pusher events immediately when running in background 2013-05-29 16:54:12 +03:00
routes.coffee Allow to override sign in and sign out callbacks on routes 2013-05-16 12:46:58 +02:00
slider.coffee Make the app work with disabled cookies 2012-12-10 17:37:09 +01:00
store.coffee Improve log handling 2013-03-22 01:25:23 +01:00
tailing.coffee Event is no longer passed as an argument to handlers 2013-02-21 23:22:52 +01:00
views.coffee Set container on View 2013-05-15 17:23:53 +02:00