Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Fix device list update to not constantly resync #1964
+123
−47
Conversation
erikjohnston
assigned
NegativeMjark
Mar 1, 2017
| + @defer.inlineCallbacks | ||
| + def _handle_device_updates(self, user_id): | ||
| + "Actually handle pending updates." | ||
| + | ||
| with (yield self._remote_edue_linearizer.queue(user_id)): |
| + if prev_id == extremity: | ||
| + continue | ||
| + elif prev_id in seen_updates: | ||
| + continue |
erikjohnston
Mar 3, 2017
Owner
Possibly, but I'd rather keep it simple and just keep the most recently seen stream_ids.
erikjohnston
added some commits
Mar 3, 2017
|
@NegativeMjark PTAL |
erikjohnston
merged commit 82f7f15
into
develop
Mar 3, 2017
7 of 8 checks passed
Sytest Dendron (Commit)
Build #1608 origin/erikj/device_list_update_fix failed in 7.5 sec
Details
Sytest Dendron (Merged PR)
Build finished.
Details
Sytest Postgres (Commit)
Build #2424 origin/erikj/device_list_update_fix succeeded in 7 min 24 sec
Details
Sytest Postgres (Merged PR)
Build finished.
Details
Sytest SQLite (Commit)
Build #2489 origin/erikj/device_list_update_fix succeeded in 6 min 6 sec
Details
Sytest SQLite (Merged PR)
Build finished.
Details
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
continuous-integration/travis-ci/push
The Travis CI build passed
Details
richvdh
referenced this pull request
Mar 8, 2017
Closed
device_list_stream is stored inefficiently, leading to massive disk space use #1962
erikjohnston
added a commit
that referenced
this pull request
Mar 13, 2017
erikjohnston
deleted the
erikj/device_list_update_fix
branch
Mar 29, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
erikjohnston commentedMar 1, 2017
No description provided.