Only update human time objects every ten seconds

This commit is contained in:
Franz Liedke 2016-03-30 19:47:40 +09:00
parent 630215b742
commit 9df3bbae53
3 changed files with 3 additions and 3 deletions

View File

@ -20885,7 +20885,7 @@ System.register('flarum/initializers/humanTime', ['flarum/utils/humanTime'], fun
* timestamps rendered with the `humanTime` helper.
*/
function humanTime() {
setInterval(updateHumanTimes, 1000);
setInterval(updateHumanTimes, 10000);
}
_export('default', humanTime);

View File

@ -28620,7 +28620,7 @@ System.register('flarum/initializers/humanTime', ['flarum/utils/humanTime'], fun
* timestamps rendered with the `humanTime` helper.
*/
function humanTime() {
setInterval(updateHumanTimes, 1000);
setInterval(updateHumanTimes, 10000);
}
_export('default', humanTime);

View File

@ -14,5 +14,5 @@ function updateHumanTimes() {
* timestamps rendered with the `humanTime` helper.
*/
export default function humanTime() {
setInterval(updateHumanTimes, 1000);
setInterval(updateHumanTimes, 10000);
}