From ab61e32399075580963e3942969b68f5bb949a2e Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Wed, 13 Jul 2016 08:59:48 +0200 Subject: [PATCH] Commented out get_language because it adds too much overhead --- bin/Attribute.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/Attribute.py b/bin/Attribute.py index 46d80858..a7f78696 100755 --- a/bin/Attribute.py +++ b/bin/Attribute.py @@ -51,12 +51,13 @@ if __name__ == "__main__": PST = Paste.Paste(message) else: publisher.debug("Script Attribute is idling 1s") + print 'sleeping' time.sleep(1) continue # FIXME do it directly in the class PST.save_attribute_redis("p_encoding", PST._get_p_encoding()) - PST.save_attribute_redis("p_language", PST._get_p_language()) + #PST.save_attribute_redis("p_language", PST._get_p_language()) # FIXME why not all saving everything there. PST.save_all_attributes_redis() # FIXME Not used.