Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix change feed #11018

Merged
merged 9 commits into from
Dec 31, 2020
Merged

Fix change feed #11018

merged 9 commits into from
Dec 31, 2020

Conversation

Nerdinacan
Copy link
Contributor

A flaw in the pouchDB object that monitors changes (db/changes.js) was causing too many event emitters to be created. I've beefed up the management of those objects and added some unit tests to test the situation.

Copy link
Member

@mvdbeek mvdbeek left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for fixing that!

client/src/components/History/caching/db/changes.js Outdated Show resolved Hide resolved
client/src/components/History/caching/db/changes.js Outdated Show resolved Hide resolved
client/src/components/History/caching/db/changes.js Outdated Show resolved Hide resolved
client/src/components/History/caching/db/changes.test.js Outdated Show resolved Hide resolved
Nerdinacan and others added 5 commits December 30, 2020 12:51
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
@Nerdinacan
Copy link
Contributor Author

Nerdinacan commented Dec 31, 2020

I'm pretty sure this is mergeable. There's a failed test in the /api suite, but I didn't touch any of the server-side code at all and it's failing on dev branch as well.

@bgruening
Copy link
Member

Restarted the tests ...

@Nerdinacan Nerdinacan removed the request for review from dannon December 31, 2020 01:31
@bgruening bgruening merged commit 1948eaa into galaxyproject:dev Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants