mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
Commented out get_language because it adds too much overhead
This commit is contained in:
parent
c51bdec8aa
commit
ab61e32399
1 changed files with 2 additions and 1 deletions
|
@ -51,12 +51,13 @@ if __name__ == "__main__":
|
||||||
PST = Paste.Paste(message)
|
PST = Paste.Paste(message)
|
||||||
else:
|
else:
|
||||||
publisher.debug("Script Attribute is idling 1s")
|
publisher.debug("Script Attribute is idling 1s")
|
||||||
|
print 'sleeping'
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# FIXME do it directly in the class
|
# FIXME do it directly in the class
|
||||||
PST.save_attribute_redis("p_encoding", PST._get_p_encoding())
|
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.
|
# FIXME why not all saving everything there.
|
||||||
PST.save_all_attributes_redis()
|
PST.save_all_attributes_redis()
|
||||||
# FIXME Not used.
|
# FIXME Not used.
|
||||||
|
|
Loading…
Reference in a new issue