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
Remove sent_transactions table. #1188
+4
−150
Conversation
erikjohnston
assigned
NegativeMjark
Oct 31, 2016
|
Sure. LGTM |
| - six_hours_ago = now - 6 * 60 * 60 * 1000 | ||
| - | ||
| - def _cleanup_transactions_txn(txn): | ||
| - txn.execute("DELETE FROM received_transactions WHERE ts < ?", (month_ago,)) |
|
I think received_transactions is a write-only table as well. Should we stop writing to it as well while we are at it? |
It's used to short circuit duplicate transactions |
erikjohnston
merged commit 2746e80
into
develop
Nov 1, 2016
9 of 10 checks passed
Sytest Dendron (Commit)
Build #1069 origin/erikj/sent_transactions failed in 2 min 2 sec
Details
Flake8 + Packaging (Commit)
Build #2000 origin/erikj/sent_transactions succeeded in 1 min 7 sec
Details
Flake8 + Packaging (Merged PR)
Build finished.
Details
Sytest Dendron (Merged PR)
Build finished.
Details
Sytest Postgres (Commit)
Build #1908 origin/erikj/sent_transactions succeeded in 9 min 27 sec
Details
Sytest Postgres (Merged PR)
Build finished.
Details
Sytest SQLite (Commit)
Build #1952 origin/erikj/sent_transactions succeeded in 6 min 58 sec
Details
Sytest SQLite (Merged PR)
Build finished.
Details
Unit Tests (Commit)
Build #2032 origin/erikj/sent_transactions succeeded in 3 min 36 sec
Details
Unit Tests (Merged PR)
Build finished.
Details
richvdh
deleted the
erikj/sent_transactions
branch
Dec 1, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
erikjohnston commentedOct 31, 2016
It does nothing.