mut
This commit is contained in:
parent
9edded6b7e
commit
1c692d8c32
|
@ -230,7 +230,7 @@ impl Postgres {
|
|||
Ok(self.session.read().await)
|
||||
}
|
||||
|
||||
pub fn start(self, mut recv: PostgresMpscRecv) -> JoinHandle<anyhow::Result<()>> {
|
||||
pub fn start(mut self, mut recv: PostgresMpscRecv) -> JoinHandle<anyhow::Result<()>> {
|
||||
tokio::spawn(async move {
|
||||
info!("Writing to postgres");
|
||||
|
||||
|
|
Loading…
Reference in New Issue