mirror of
https://github.com/flarum/framework.git
synced 2025-05-24 15:49:58 +08:00
Only update human time objects every ten seconds
This commit is contained in:
@ -14,5 +14,5 @@ function updateHumanTimes() {
|
||||
* timestamps rendered with the `humanTime` helper.
|
||||
*/
|
||||
export default function humanTime() {
|
||||
setInterval(updateHumanTimes, 1000);
|
||||
setInterval(updateHumanTimes, 10000);
|
||||
}
|
||||
|
Reference in New Issue
Block a user