mirror of
https://github.com/flarum/core.git
synced 2025-07-11 20:06:23 +02: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