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
Limit the number of prev_events of new events #1615
Conversation
erikjohnston
assigned
NegativeMjark
Nov 8, 2016
| + # We also randomly point to some of the older events, to make | ||
| + # sure that we don't completely ignore the older events. | ||
| + if latest_ret[5:]: | ||
| + sample_size = min(5, len(latest_ret[5:])) |
NegativeMjark
Nov 8, 2016
Contributor
The sample size is always 5 here, since this code is only hit if len(latest_ret) > 10.
erikjohnston
merged commit 17e0a58
into
develop
Nov 8, 2016
8 of 10 checks passed
Sytest Dendron (Commit)
Build #1092 origin/erikj/limit_prev_events failed in 1 min 54 sec
Details
Sytest Postgres (Merged PR)
Build finished.
Details
Flake8 + Packaging (Commit)
Build #2024 origin/erikj/limit_prev_events succeeded in 1 min 10 sec
Details
Flake8 + Packaging (Merged PR)
Build finished.
Details
Sytest Dendron (Merged PR)
Build finished.
Details
Sytest Postgres (Commit)
Build #1931 origin/erikj/limit_prev_events succeeded in 7 min 8 sec
Details
Sytest SQLite (Commit)
Build #1975 origin/erikj/limit_prev_events succeeded in 8 min 17 sec
Details
Sytest SQLite (Merged PR)
Build finished.
Details
Unit Tests (Commit)
Build #2055 origin/erikj/limit_prev_events succeeded in 3 min 21 sec
Details
Unit Tests (Merged PR)
Build finished.
Details
richvdh
deleted the
erikj/limit_prev_events
branch
Dec 1, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
erikjohnston commentedNov 8, 2016
No description provided.