Рефакторинг имени клода
This commit is contained in:
1 parent
dc92c80b43
commit
2da1eac443
7 files changed
+321
-151
No files matched your search
@@ -170,8 +170,9 @@ namespace MonsterMonitor.Models
|
||||
|
||||
if (string.IsNullOrWhiteSpace(result.SystemPasswordProtected))
|
||||
{
|
||||
// Значение по умолчанию применяется только в памяти.
|
||||
// Раньше здесь вызывался Save() — лишний дисковый I/O на каждом чтении настроек.
|
||||
result.SetSystemPassword("STerra");
|
||||
result.Save();
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in new issue
Block a user