Exemple #1
0
def regen_if_dirty(sender, **kwargs):
	# Guard against cuncurrent access by regenerating again.
	while Variable.get("transaction_cache_dirty", True):
		Variable.set("transaction_cache_dirty", False)
		TransactionCache.regenerate()