Skip to content

Commit fd2b421

Browse files
committed
fix: description
1 parent 5fa0270 commit fd2b421

File tree

1 file changed

+1
-1
lines changed
  • packages/api/internal/sandbox/storage/redis

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (s *Storage) Close() {
6060
s.subManager.close()
6161
}
6262

63-
// Sync is here only for legacy reasons, redis backend doesn't need any sync
63+
// Sync returns a list of sandboxes that are considered orphans on the current node.
6464
func (s *Storage) Sync(ctx context.Context, sbxs []sandbox.Sandbox, nodeID string) []sandbox.Sandbox {
6565
if len(sbxs) == 0 {
6666
return nil

0 commit comments

Comments
 (0)