From bc348f896a9e97998f8f905111596f0f47f2d3c3 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Tue, 14 Apr 2015 23:58:22 +0300 Subject: rz_kernel: DBO_nop, periodic check for DB conn --- src/server/db_op.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/server/db_op.py') diff --git a/src/server/db_op.py b/src/server/db_op.py index a472f39a..3f6e5901 100644 --- a/src/server/db_op.py +++ b/src/server/db_op.py @@ -585,6 +585,13 @@ class DBO_match_node_set_by_id_attribute(DBO_match_node_id_set): super(DBO_match_node_set_by_id_attribute, self).__init__(filter_attr_map={'id': id_set}) +class DBO_nop(DB_op): + + def __init__(self): + """ + Do nothing op used to test DB availability + """ + super(DBO_nop, self).__init__() class DBO_load_link_set(DB_op): -- cgit v1.3.1