Github user garrensmith commented on the pull request:
https://github.com/apache/couchdb-fauxton/pull/303#issuecomment-77829302
@benkeen I've spotted some performance issues while testing. Even though
you set a display limit of 1000, the changes request still fetches ALL changes.
So I have a database with 37000 changes. Those changes are still kept in
memory.
To fix this change the `buildChanges` function in
`/app/addons/databases/resources.js` to something like this:
```javascript
buildChanges: function (params) {
if (!params.limit) {
params.limit = 100;
}
this.changes = new Databases.Changes({
database: this,
params: params
});
return this.changes;
}
```
I've set a limit of 100. I think thats actually a better size. I think once
this PR has landed We need to add the functionality for a user to look at older
changes and also see any new changes while viewing the changes page.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---