-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Smaller memory footprint for processed items (#106)
* Smaller memory footprint for processed items * Add config option whether to check for duplicates * oops * Create HttpServerConfig class * Remove unused global http config variable
- Loading branch information
Showing
6 changed files
with
374 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace WhMgr.Net.Configuration | ||
{ | ||
public class HttpServerConfig | ||
{ | ||
public string Host { get; set; } | ||
|
||
public ushort Port { get; set; } | ||
|
||
public int DespawnTimerMinimum { get; set; } | ||
|
||
public bool CheckForDuplicates { get; set; } | ||
|
||
public HttpServerConfig() | ||
{ | ||
Host = "*"; | ||
Port = 8008; | ||
DespawnTimerMinimum = 5; | ||
CheckForDuplicates = true; | ||
} | ||
} | ||
} |
Oops, something went wrong.