Skip to content
Permalink
Browse files Browse the repository at this point in the history
Implemented maxthreads, added another entry to TODO
  • Loading branch information
kolya5544 committed Feb 10, 2020
1 parent 0f2b52b commit 66dc9d9
Show file tree
Hide file tree
Showing 5 changed files with 391 additions and 363 deletions.
3 changes: 3 additions & 0 deletions BearFTP/Config.cs
Expand Up @@ -24,6 +24,7 @@ class Config
public int BanLength = 3600;
public int MaxErrors = 6;
public int BufferSize = 8192;
public int MaxThreads = 50;



Expand Down Expand Up @@ -61,6 +62,7 @@ public Config(string name)
MaxErrors = json.MaxErrors;
BufferSize = json.BufferSize;
PerIPLogs = json.PerIPLogs;
MaxThreads = json.MaxThreads;



Expand Down Expand Up @@ -101,6 +103,7 @@ public class CJSON
public int BanLength { get; set; }
public int MaxErrors { get; set; }
public int BufferSize { get; set; }
public int MaxThreads { get; set; }
public List<CJSON_FILE> Files { get; set; }
}
}

0 comments on commit 66dc9d9

Please sign in to comment.