mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-19 08:31:44 +01:00
[Glitch] Fix trending hashtags being fetched every 36 seconds instead of every hour (#11631)
Port d857d0d14d273648bad5a88ce3391d6e15592039 to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
parent
b30a7f5120
commit
e1810eed8e
@ -17,7 +17,7 @@ export default class Trends extends ImmutablePureComponent {
|
|||||||
|
|
||||||
componentDidMount () {
|
componentDidMount () {
|
||||||
this.props.fetchTrends();
|
this.props.fetchTrends();
|
||||||
this.refreshInterval = setInterval(() => this.props.fetchTrends(), 36000);
|
this.refreshInterval = setInterval(() => this.props.fetchTrends(), 3600000);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount () {
|
componentWillUnmount () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user