Skip to content

Request::get() with auto paging mode#19

Open
mqu wants to merge 1 commit intomaruTA-bis5:masterfrom
mqu:mqu-patch-2
Open

Request::get() with auto paging mode#19
mqu wants to merge 1 commit intomaruTA-bis5:masterfrom
mqu:mqu-patch-2

Conversation

@mqu
Copy link
Copy Markdown
Contributor

@mqu mqu commented Nov 29, 2018

Mattermost::Request::get() with auto paging mode and handle exception on error reading.

Mattermost::Request::get() with auto paging mode and handle exception on error reading.
Copy link
Copy Markdown
Owner

@maruTA-bis5 maruTA-bis5 left a comment

Choose a reason for hiding this comment

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

Sorry for late response.

If your application like Mattermost webapp, and you selected long-living channel such as "town-square", this modify causes a lot of requests happen because that channel has too many messages. (Request#get is called by many api internally.)

So you should make "Auto paging mode" optional.

@maruTA-bis5 maruTA-bis5 added the enhancement New feature or request label Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants