Browse Source

[Glitch] Fix trending hashtags being fetched every 36 seconds instead of every hour (#11631)

Port d857d0d14d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
closed-social-glitch-2
ThibG 5 years ago
parent
commit
e1810eed8e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/features/getting_started/components/trends.js

+ 1
- 1
app/javascript/flavours/glitch/features/getting_started/components/trends.js View File

@ -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…
Cancel
Save