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