##// END OF EJS Templates
disable save-thread when using in-memory history db.
MinRK -
Show More
@@ -403,8 +403,9 b' class HistoryManager(HistoryAccessor):'
403 self.save_flag = threading.Event()
403 self.save_flag = threading.Event()
404 self.db_input_cache_lock = threading.Lock()
404 self.db_input_cache_lock = threading.Lock()
405 self.db_output_cache_lock = threading.Lock()
405 self.db_output_cache_lock = threading.Lock()
406 self.save_thread = HistorySavingThread(self)
406 if self.hist_file != ':memory:':
407 self.save_thread.start()
407 self.save_thread = HistorySavingThread(self)
408 self.save_thread.start()
408
409
409 self.new_session()
410 self.new_session()
410
411
General Comments 0
You need to be logged in to leave comments. Login now