Cleanup removing debug printing and logging, append non state events
This commit is contained in:
parent
c173ce43a5
commit
b869aab5d0
6 changed files with 119 additions and 130 deletions
|
@ -2,7 +2,7 @@ use std::{collections::HashMap, convert::TryFrom, time::SystemTime};
|
|||
|
||||
use crate::{server_server, utils, Error, PduEvent, Result};
|
||||
use federation::transactions::send_transaction_message;
|
||||
use log::{debug, error};
|
||||
use log::{debug, warn};
|
||||
use rocket::futures::stream::{FuturesUnordered, StreamExt};
|
||||
use ruma::{api::federation, ServerName};
|
||||
use sled::IVec;
|
||||
|
@ -116,7 +116,7 @@ impl Sending {
|
|||
}
|
||||
}
|
||||
Err((server, e)) => {
|
||||
error!("server: {}\nerror: {}", server, e)
|
||||
warn!("Couldn't send transaction to {}: {}", server, e)
|
||||
// TODO: exponential backoff
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue