Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

remove unused WALFlushInterval option and NopWAL struct #468

Merged

Conversation

krasi-georgiev
Copy link
Contributor

@krasi-georgiev krasi-georgiev commented Dec 10, 2018

The WALFlushInterval is not used anywhere in the code base.
The WAL is not an interface anymore to save some lookup time so can't use NopWAL in the tests. Instead can just pass nil as the code checks for that and it is essentially a noop.

Signed-off-by: Krasi Georgiev kgeorgie@redhat.com

Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
@brian-brazil
Copy link
Contributor

👍

@krasi-georgiev krasi-georgiev merged commit 2e0571c into prometheus-junkyard:master Dec 28, 2018
@krasi-georgiev krasi-georgiev deleted the remove-noop-wal branch December 28, 2018 17:42
radeklesniewski pushed a commit to SabreOSS/tsdb that referenced this pull request Jan 18, 2019
…unkyard#468)

The WALFlushInterval is not used anywhere in the code base.
The WAL is not an interface anymore to save some lookup time so can't use NopWAL in the tests. Instead can just pass nil as the code checks for that and it is essentially a noop.

Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants