Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Make pollForJobs actually use ms argument #158

Merged
merged 1 commit into from

2 participants

@Jellyfrog

No description provided.

@drudge drudge merged commit dd82cdc into Automattic:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 11, 2012
  1. @Jellyfrog
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/http/public/javascripts/main.js
View
4 lib/http/public/javascripts/main.js
@@ -141,7 +141,7 @@ function show(state) {
o('#jobs .job').remove();
o('#menu li a').removeClass('active');
o('#menu li.' + state + ' a').addClass('active');
- pollForJobs(state, 2000);
+ pollForJobs(state, 1000);
return false;
}
}
@@ -159,7 +159,7 @@ function pollForJobs(state, ms) {
infiniteScroll();
pollForJobs.timer = setTimeout(function(){
pollForJobs(state, ms);
- }, 1000);
+ }, ms);
});
};
Something went wrong with that request. Please try again.