fix: added recovery status check (WAL plugin)
@@ -53,6 +53,7 @@ class Wal(Plugin):
args=["wal" if Pooler.server_version_greater("10.0") else "xlog"])
zbx.send(self.key_count_wall.format("[]"), int(result[0][0]))
+ if not Pooler.in_recovery():
if Pooler.server_version_greater("10"):
result = Pooler.query(self.query_wal_lsn_diff)
zbx.send(self.key_wall.format("[]"), float(result[0][0]), self.DELTA_SPEED)
