summaryrefslogtreecommitdiffstats
path: root/web/react/components/channel_loader.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-11-03 14:52:25 -0500
committerJoramWilander <jwawilander@gmail.com>2015-11-03 14:52:25 -0500
commitfb5b57836ece6da2d0136802ca0d08346638b9e2 (patch)
tree1d63131f9a5bbf868a36adc782ad7b3bb9b3e305 /web/react/components/channel_loader.jsx
parentfc9aefb868db0f0c1b7490f7455c1adb43b59d2a (diff)
downloadchat-fb5b57836ece6da2d0136802ca0d08346638b9e2.tar.gz
chat-fb5b57836ece6da2d0136802ca0d08346638b9e2.tar.bz2
chat-fb5b57836ece6da2d0136802ca0d08346638b9e2.zip
Multiple fixes to major performance issues with teams with 50+ users
Diffstat (limited to 'web/react/components/channel_loader.jsx')
-rw-r--r--web/react/components/channel_loader.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/channel_loader.jsx b/web/react/components/channel_loader.jsx
index 55b4a55c0..edc13f7ab 100644
--- a/web/react/components/channel_loader.jsx
+++ b/web/react/components/channel_loader.jsx
@@ -38,7 +38,7 @@ export default class ChannelLoader extends React.Component {
/* Set up interval functions */
this.intervalId = setInterval(
- function pollStatuses() {
+ () => {
AsyncClient.getStatuses();
},
30000