]> cat aescling's git repositories - mastodon.git/commitdiff
Fix trending hashtags being fetched every 36 seconds instead of every hour (#11631)
authorThibG <thib@sitedethib.com>
Tue, 20 Aug 2019 22:18:07 +0000 (00:18 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 20 Aug 2019 22:18:07 +0000 (00:18 +0200)
app/javascript/mastodon/features/getting_started/components/trends.js

index 1dcacc8b392351bee55b62f4838178a757a4d706..4791546e2adb4e923daaf4501199f86cc483798a 100644 (file)
@@ -17,7 +17,7 @@ export default class Trends extends ImmutablePureComponent {
 
   componentDidMount () {
     this.props.fetchTrends();
-    this.refreshInterval = setInterval(() => this.props.fetchTrends(), 36000);
+    this.refreshInterval = setInterval(() => this.props.fetchTrends(), 3600000);
   }
 
   componentWillUnmount () {