Updated server README

- Removed accidental of API's object files
This commit is contained in:
Tony Bark 2024-05-01 03:50:54 -04:00
parent 22191ce648
commit 4b5e584eeb
18 changed files with 419 additions and 16737 deletions

View file

@ -22,7 +22,8 @@ namespace FSO.Server.Domain
public List<ShardStatusItem> All
{
get{
get
{
return _Shards;
}
}
@ -31,7 +32,7 @@ namespace FSO.Server.Domain
{
get
{
throw new Exception("CurrentShard not avaliable in server domain");
throw new Exception("CurrentShard not available in server domain");
}
}
@ -39,9 +40,12 @@ namespace FSO.Server.Domain
{
Task.Delay(60000).ContinueWith(x =>
{
try{
try
{
Poll();
}catch(Exception ex){
}
catch (Exception ex)
{
}
AutoUpdate();
});
@ -55,7 +59,7 @@ namespace FSO.Server.Domain
private void Poll()
{
_LastPoll = DateTime.UtcNow;
using (var db = _DbFactory.Get())
{
_Shards = db.Shards.All().Select(x => new ShardStatusItem()