revert MESSAGES_IN_POSTGRES_CHANNEL

This commit is contained in:
aniketfuryrocks 2023-03-07 14:56:28 +05:30
parent 1c692d8c32
commit 79fe62b820
No known key found for this signature in database
GPG Key ID: FA6BFCFAA7D4B764
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ impl Postgres {
info!("Writing to postgres");
while let Some(msg) = recv.recv().await {
MESSAGES_IN_POSTGRES_CHANNEL.inc();
MESSAGES_IN_POSTGRES_CHANNEL.dec();
let session = self.get_session().await?;
let Err(err) = (