This commit is contained in:
aniketfuryrocks 2023-03-06 20:18:43 +05:30
parent 9edded6b7e
commit 1c692d8c32
No known key found for this signature in database
GPG Key ID: FA6BFCFAA7D4B764
1 changed files with 1 additions and 1 deletions

View File

@ -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");