Loading ccserver/db.py +2 −0 Original line number Diff line number Diff line Loading @@ -153,6 +153,8 @@ class SRequestor(StaticRequestor): # Get and process the results: for update in watcher.wait(timeout=60): #TODO: adaptative timeout obj = update['data'] if 'return' not in update: continue #TODO: display error in tag value for tag_name, tag_value in update['return'].iteritems(): obj.set(tag_name, tag_value) obj[tag_name].cached = tag_value # Set the tag cache value Loading
ccserver/db.py +2 −0 Original line number Diff line number Diff line Loading @@ -153,6 +153,8 @@ class SRequestor(StaticRequestor): # Get and process the results: for update in watcher.wait(timeout=60): #TODO: adaptative timeout obj = update['data'] if 'return' not in update: continue #TODO: display error in tag value for tag_name, tag_value in update['return'].iteritems(): obj.set(tag_name, tag_value) obj[tag_name].cached = tag_value # Set the tag cache value