about summary refs log tree commit diff
path: root/src/view/screens/Profile.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-12-11 13:53:37 -0800
committerGitHub <noreply@github.com>2023-12-11 13:53:37 -0800
commit99cf6b626fd955b94bde04c2153cbe8bad53699d (patch)
tree670015b6d4ffac1823b2c85a72e9d4991e7c76fc /src/view/screens/Profile.tsx
parentab04074197f8432a3d502ca2393beca3b8f6ca97 (diff)
downloadvoidsky-99cf6b626fd955b94bde04c2153cbe8bad53699d.tar.zst
Additional reductions in request traffic (#2169)
* Dont poll for new content on profiles

* Drop the whenAppReady query after new post to reduce traffic overhead

* Reduce getPosts calls in notifs to only use them when needed
Diffstat (limited to 'src/view/screens/Profile.tsx')
-rw-r--r--src/view/screens/Profile.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx
index e019c4ede..b7dac8c6d 100644
--- a/src/view/screens/Profile.tsx
+++ b/src/view/screens/Profile.tsx
@@ -441,7 +441,6 @@ const FeedSection = React.forwardRef<SectionRef, FeedSectionProps>(
           testID="postsFeed"
           enabled={isFocused}
           feed={feed}
-          pollInterval={30e3}
           scrollElRef={scrollElRef}
           onHasNew={setHasNew}
           onScroll={onScroll}