Skip to content

Commit cadc7dd

Browse files
committed
chore: add log
1 parent e33eea1 commit cadc7dd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/api/internal/sandbox/storage/redis

packages/api/internal/sandbox/storage/redis/cleaner.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ func (c *Cleaner) evictExpired(ctx context.Context, expired []sandbox.Sandbox) {
8383
return
8484
}
8585

86+
logger.L().Info(ctx, "Cleaner found expired sandboxes", zap.Int("count", len(expired)))
87+
8688
for _, sbx := range expired {
8789
if time.Since(sbx.EndTime) < sandbox.StaleCutoff {
8890
continue

0 commit comments

Comments
 (0)