mirror of
https://github.com/mikedilger/chorus.git
synced 2026-03-04 06:36:27 +00:00
Be a bit less harsh about errors
This commit is contained in:
parent
59643c1b06
commit
974beabcee
@ -226,7 +226,7 @@ impl ChorusError {
|
||||
ChorusError::AuthFailure(_) => 0.25,
|
||||
ChorusError::AuthRequired => 0.0,
|
||||
ChorusError::BadEventId => 0.1,
|
||||
ChorusError::BadHexInput => 0.5,
|
||||
ChorusError::BadHexInput => 0.4,
|
||||
ChorusError::BufferTooSmall => 0.0,
|
||||
ChorusError::ChannelRecv(_) => 0.0,
|
||||
ChorusError::ChannelSend(_) => 0.0,
|
||||
@ -234,7 +234,7 @@ impl ChorusError {
|
||||
ChorusError::Crypto(_) => 0.1,
|
||||
ChorusError::Deleted => 0.1,
|
||||
ChorusError::Duplicate => 0.01,
|
||||
ChorusError::EndOfInput => 0.5,
|
||||
ChorusError::EndOfInput => 0.4,
|
||||
ChorusError::ErrorClose => 1.0,
|
||||
ChorusError::EventIsInvalid(_) => 0.2,
|
||||
ChorusError::Http(_) => 0.0,
|
||||
@ -255,7 +255,7 @@ impl ChorusError {
|
||||
ChorusError::Rustls(_) => 0.0,
|
||||
ChorusError::TimedOut => 0.1,
|
||||
ChorusError::Tungstenite(_) => 0.0,
|
||||
ChorusError::Scraper => 1.0,
|
||||
ChorusError::Scraper => 0.4,
|
||||
ChorusError::Speedy(_) => 0.0,
|
||||
ChorusError::TooManySubscriptions => 0.1,
|
||||
ChorusError::UrlParse(_) => 0.1,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user