mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 11:35:29 +01:00
Fix trending hashtags being fetched every 36 seconds instead of every hour (#11631)
This commit is contained in:
parent
b48c7ee059
commit
d857d0d14d
@ -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…
Reference in New Issue
Block a user