projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff4280e
)
gitlive.js
author
Alan Knowles
<alan@wideboy.(none)>
Wed, 28 Apr 2010 14:50:00 +0000
(22:50 +0800)
committer
Alan Knowles
<alan@wideboy.(none)>
Wed, 28 Apr 2010 14:50:00 +0000
(22:50 +0800)
gitlive.js
patch
|
blob
|
history
diff --git
a/gitlive.js
b/gitlive.js
index
c7d2bc1
..
2814dca
100644
(file)
--- a/
gitlive.js
+++ b/
gitlive.js
@@
-50,7
+50,10
@@
var monitor = new Monitor({
if (!_this.queue.length) {
return 0;
}
- Math.floor(((new Date()) - this.lastAdd) / 100)
+ var last = Math.floor(((new Date()) - this.lastAdd) / 100);
+ if (last < 5) { // wait 1/2 a seconnd before running.
+ return 0;
+ }
_this.runQueue();
},null,null);