Disable polling in build history
This commit is contained in:
@@ -80,12 +80,10 @@
|
|||||||
|
|
||||||
const pricesInterval = setInterval(fetchPrices, 8000);
|
const pricesInterval = setInterval(fetchPrices, 8000);
|
||||||
const ciInterval = setInterval(fetchCiStatus, 10000);
|
const ciInterval = setInterval(fetchCiStatus, 10000);
|
||||||
const historyInterval = setInterval(fetchBuildHistory, 15000);
|
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
clearInterval(pricesInterval);
|
clearInterval(pricesInterval);
|
||||||
clearInterval(ciInterval);
|
clearInterval(ciInterval);
|
||||||
clearInterval(historyInterval);
|
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user