Hi
I just upgraded to webware-1.1, and get some errors (about every day) in
the session dynamic store intervalSweep method.
Here is the traceback
File "/home/sophana/src/env1/Webware-1.1/WebKit/Tasks/SessionTask.py",
line 13, in run
self._sessionstore.cleanStaleSessions(self)
File "/home/sophana/src/env1/Webware-1.1/WebKit/SessionDynamicStore.py",
line 264, in cleanStaleSessions
self.intervalSweep()
File "/home/sophana/src/env1/Webware-1.1/WebKit/SessionDynamicStore.py",
line 288, in intervalSweep
for key in self._memoryStore:
RuntimeError: dictionary changed size during iteration
Look like another thread could be changing the _memoryStore during this
iteration.
Should I change to
for key in list(self._memoryStore):
?
Regards
Sophana
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss