Change number of reactions queried (#2701)

This commit is contained in:
Ben Halpern 2019-05-05 20:18:32 -04:00 committed by GitHub
parent 1f350a048c
commit 17cf4133e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ export class ReadingList extends Component {
const client = algoliasearch(algoliaId, algoliaKey);
const index = client.initIndex(`SecuredReactions_${env}`);
const t = this;
index.search('', {hitsPerPage: 256, filters: `status:${t.state.statusView}`}).then(content => {
index.search('', {hitsPerPage: 64, filters: `status:${t.state.statusView}`}).then(content => {
t.setState({readingListItems: content.hits, index, itemsLoaded: true});
});
const waitingOnUser = setInterval(function(){