[pytorctl/master] placeholder for call to refresh_all()

commit 741cc04db278cede4bbe0c9e0147066fbfd00a4b Author: aagbsn <aagbsn@extc.org> Date: Thu Jul 7 15:21:26 2011 -0700 placeholder for call to refresh_all() suspicious session behavior may require refreshing all objects in order to keep tc_session and sessions bound to Elixir synchronized --- SQLSupport.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/SQLSupport.py b/SQLSupport.py index c9951d7..718bf35 100644 --- a/SQLSupport.py +++ b/SQLSupport.py @@ -772,6 +772,8 @@ class ConsensusTrackerListener(TorCtl.DualEventListener): tc_session.add(r) plog("INFO", "Consensus db updated") tc_session.commit() + # testing + #refresh_all() # Too many sessions, don't trust commit() def update_consensus(self): plog("INFO", "Updating DB with full consensus.")
participants (1)
-
mikeperry@torproject.org