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

Update to postgres 0.16 and some minor changes #10

Closed
wants to merge 6 commits into from
Closed

Update to postgres 0.16 and some minor changes #10

wants to merge 6 commits into from

Conversation

jo-so
Copy link
Contributor

@jo-so jo-so commented Jun 12, 2019

No description provided.

jo-so added 6 commits June 7, 2019 22:11
`cargo clippy` suggested to use `is_empty()` instead of `len() > 0`,
because this doesn't require to calculate the whole length of the sequence.

See: <https://rust-lang.github.io/rust-clippy/master/index.html#len_zero>
`cargo clippy` suggested to use a character instead of a string with a
single character.

See: <https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern>
To unify the spelling of parameters, i.e. all upper-casse, add the
`value_name()` for max_state_group.
Some compressions yield only a few hundred lines saving which isn't worth
the database update and the time needed to validate the compression. With
the new commandline argument `-m` the output would be suppressed, if not
at least the given number of database records would be saved.
@auscompgeek
Copy link

Needs merge conflicts resolved, it looks like.

heftig added a commit to heftig/rust-synapse-compress-state that referenced this pull request Dec 26, 2019
@heftig heftig mentioned this pull request Dec 26, 2019
heftig added a commit to heftig/rust-synapse-compress-state that referenced this pull request Feb 14, 2020
@erikjohnston
Copy link
Member

Sorry this got ignored for so long! This looks to have been fixed in #15 too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants