chore(src): 🔧 Update service file configuration in vps-agent.service.ts

This commit is contained in:
Lilith 2026-01-23 14:23:37 -08:00
parent 125b9bca37
commit 20dd0044bd

View file

@ -256,8 +256,9 @@ export class VPSAgentService implements OnModuleInit {
}
try {
// CRITICAL: --until now prevents infinite streaming
const result = await this.sshUtil.execAsync(
`docker events --since ${since} --format '{{.Time}}|{{.Type}}|{{.Action}}|{{.Actor.Attributes.name}}'`,
`docker events --since ${since} --until now --format '{{.Time}}|{{.Type}}|{{.Action}}|{{.Actor.Attributes.name}}'`,
);
if (!result.success || !result.stdout) {