mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Use TCacheMap for saving the WebModules session
With this change, sessions are automatically "garbage collected" 24h after the last request using this session. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1823 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -157,7 +157,7 @@ private:
|
||||
CString m_sPage; // Gets filled by ResolveModule()
|
||||
CSmartPtr<CWebSession> m_spSession;
|
||||
|
||||
static map<CString, CSmartPtr<CWebSession> > m_mspSessions;
|
||||
static TCacheMap<CString, CSmartPtr<CWebSession> > m_mspSessions;
|
||||
};
|
||||
|
||||
#endif // !_WEBMODULES_H
|
||||
|
||||
Reference in New Issue
Block a user