about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/getting_started/components/trends.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-08-21 00:18:07 +0200
committerThibG <thib@sitedethib.com>2019-09-02 10:57:44 +0200
commite1810eed8e8c31d6a39fe5d13f92f5fd6fa10967 (patch)
tree4b97af486252b4113a727729af2cde672d18d882 /app/javascript/flavours/glitch/features/getting_started/components/trends.js
parentb30a7f5120d9805e1325e45da2a0d1a2db83533e (diff)
[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>
Diffstat (limited to 'app/javascript/flavours/glitch/features/getting_started/components/trends.js')
-rw-r--r--app/javascript/flavours/glitch/features/getting_started/components/trends.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/getting_started/components/trends.js b/app/javascript/flavours/glitch/features/getting_started/components/trends.js
index 583dbc9e1..8a34633d9 100644
--- a/app/javascript/flavours/glitch/features/getting_started/components/trends.js
+++ b/app/javascript/flavours/glitch/features/getting_started/components/trends.js
@@ -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 () {