Commit e5311436 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

COMMIT after each probe

parent ae4c2901
......@@ -70,6 +70,7 @@ class PostgreSQLProbe(Probe):
service=row[0]
for param,value in zip(self.pg_stat_params,row[1:]):
self.set_data(service,param,value)
self.sql("COMMIT")
self.exit()
def on_stop(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment