mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Add very basic initial login stats to the user server
* Typing 'stats' on the command line will given total number of successful logins today and yesterday * A little bit more to come, probably * Refactoring will follow next
This commit is contained in:
@@ -38,6 +38,7 @@ using OpenSim.Framework.Communications.Cache;
|
||||
using OpenSim.Framework.Console;
|
||||
using OpenSim.Framework.Data;
|
||||
using OpenSim.Framework.Servers;
|
||||
using OpenSim.Framework.Statistics;
|
||||
using OpenSim.Framework.UserManagement;
|
||||
using InventoryFolder=OpenSim.Framework.InventoryFolder;
|
||||
|
||||
@@ -53,8 +54,9 @@ namespace OpenSim.Grid.UserServer
|
||||
public UserConfig m_config;
|
||||
|
||||
public UserLoginService(
|
||||
UserManagerBase userManager, LibraryRootFolder libraryRootFolder, UserConfig config, string welcomeMess)
|
||||
: base(userManager, libraryRootFolder, welcomeMess)
|
||||
UserManagerBase userManager, LibraryRootFolder libraryRootFolder,
|
||||
UserStatsReporter statsCollector, UserConfig config, string welcomeMess)
|
||||
: base(userManager, libraryRootFolder, statsCollector, welcomeMess)
|
||||
{
|
||||
m_config = config;
|
||||
}
|
||||
@@ -290,4 +292,4 @@ namespace OpenSim.Grid.UserServer
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user