Prevent database locking by not updating latest checkin in database and instead storing it only in memory
This commit is contained in:
@@ -18,7 +18,8 @@ proc register*(config: AgentConfig): string =
|
||||
"os": getOSVersion(),
|
||||
"process": getProcessExe(),
|
||||
"pid": getProcessId(),
|
||||
"elevated": isElevated()
|
||||
"elevated": isElevated(),
|
||||
"sleep": config.sleep
|
||||
}
|
||||
echo $body
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
-d:ListenerUuid="KPDHWZNT"
|
||||
-d:ListenerIp="localhost"
|
||||
-d:ListenerPort=7777
|
||||
-d:SleepDelay=10
|
||||
-d:SleepDelay=0
|
||||
|
||||
Reference in New Issue
Block a user