fix tag alias caching bug
This commit is contained in:
@@ -95,6 +95,8 @@ class TagAlias < ActiveRecord::Base
|
|||||||
def clear_cache(host = Socket.gethostname)
|
def clear_cache(host = Socket.gethostname)
|
||||||
if host == Socket.gethostname
|
if host == Socket.gethostname
|
||||||
Cache.delete("ta:#{Cache.sanitize(antecedent_name)}")
|
Cache.delete("ta:#{Cache.sanitize(antecedent_name)}")
|
||||||
|
else
|
||||||
|
delay.clear_cache(host)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user