Skip to content

Increase watch API call limit to 10,000#2114

Merged
jb3 merged 1 commit into
mainfrom
jb3/increase-watch-limit
Mar 14, 2022
Merged

Increase watch API call limit to 10,000#2114
jb3 merged 1 commit into
mainfrom
jb3/increase-watch-limit

Conversation

@jb3
Copy link
Copy Markdown
Member

@jb3 jb3 commented Mar 14, 2022

By default, the site infractions query API will only return 100 records,
but we have more active watches than this meaning that the response
truncated active infractions and so the bigbrother cog was not
initialising with all active watches.

This change ensures that up to 10,000 watches are fetched instead meaning no
infractions will be truncated and missed.

By default, the site infractions query API will only return 100 records,
but we have more active watches than this meaning that the response
truncated active infractions and so the bigbrother cog was not
initialising with all active watches.

This change ensures that up to 10,000 watches are fetched instead meaning no
infractions will be truncated and missed.
@jb3 jb3 requested review from Den4200, ks129 and mbaruh as code owners March 14, 2022 19:35
@jb3 jb3 enabled auto-merge March 14, 2022 19:55
Copy link
Copy Markdown
Contributor

@minalike minalike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@jb3 jb3 merged commit df5e7ef into main Mar 14, 2022
@jb3 jb3 deleted the jb3/increase-watch-limit branch March 14, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants