]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix trending hashtags being fetched every 36 seconds instead of every hour...
authorThibG <thib@sitedethib.com>
Tue, 20 Aug 2019 22:18:07 +0000 (00:18 +0200)
committerThibG <thib@sitedethib.com>
Mon, 2 Sep 2019 08:57:44 +0000 (10:57 +0200)
Port d857d0d14d273648bad5a88ce3391d6e15592039 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/features/getting_started/components/trends.js

index 583dbc9e11a0023f946a4b42c89b9d145139a9d9..8a34633d93191618b1cd50f8d74a13819f410052 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 () {