diff options
author | Diva Canto | 2013-07-14 15:47:54 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-14 15:47:54 -0700 |
commit | b0140383da21de03cb655160a2912d04c5b470e6 (patch) | |
tree | 091f9a16f9f8da857820938e093c20ac7aafad97 /OpenSim/Services/HypergridService | |
parent | HG UAS: Moved hg-session data from memory to DB storage. This makes it so tha... (diff) | |
download | opensim-SC_OLD-b0140383da21de03cb655160a2912d04c5b470e6.zip opensim-SC_OLD-b0140383da21de03cb655160a2912d04c5b470e6.tar.gz opensim-SC_OLD-b0140383da21de03cb655160a2912d04c5b470e6.tar.bz2 opensim-SC_OLD-b0140383da21de03cb655160a2912d04c5b470e6.tar.xz |
Cleanup old hg sessions (older than 2 days)
Diffstat (limited to 'OpenSim/Services/HypergridService')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index b597cb9..b414aca 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs | |||
@@ -148,6 +148,9 @@ namespace OpenSim.Services.HypergridService | |||
148 | if (!m_GridName.EndsWith("/")) | 148 | if (!m_GridName.EndsWith("/")) |
149 | m_GridName = m_GridName + "/"; | 149 | m_GridName = m_GridName + "/"; |
150 | 150 | ||
151 | // Finally some cleanup | ||
152 | m_Database.DeleteOld(); | ||
153 | |||
151 | } | 154 | } |
152 | } | 155 | } |
153 | 156 | ||