WebJournal: catch ValueError when reading cache
- Reading the cPickled cache might raise ValueError exception when some process is concurrently writing to the cache. Ignore exception and retrieve value from database instead of cache.
Tibor Simko <tibor.simko@cern.ch> | Aug 10 2012, 14:36 |