mirror of
https://github.com/flarum/framework.git
synced 2025-06-05 07:24:33 +08:00
Only update human time objects every ten seconds
This commit is contained in:
2
js/admin/dist/app.js
vendored
2
js/admin/dist/app.js
vendored
@ -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);
|
||||
|
Reference in New Issue
Block a user