Ref: simplify getInstance, do not put context on a singleton
This commit is contained in:
@@ -107,7 +107,7 @@ public class Server extends Thread {
|
||||
this.base_url = url_;
|
||||
this.user_config = user_config_;
|
||||
this.client = client_;
|
||||
this.log = Log.getInstance(this.user_config);
|
||||
this.log = Log.getInstance();
|
||||
this.directoryManager = new DirectoryManager(this.user_config);
|
||||
this.lastRequestTime = 0;
|
||||
this.keepmealive_duration = 15 * 60 * 1000; // default 15min
|
||||
|
||||
Reference in New Issue
Block a user