Skip to content

Commit

Permalink
fix: also make nil sleep handler a thing for coldstarter
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcStdt committed Sep 1, 2024
1 parent 7a34917 commit a53b941
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions internal/core/domain/scroll.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,5 @@ func (sc *Scroll) CanColdStart() bool {
}

func (sc *Scroll) GetColdStartPorts() []Port {
var ports []Port
for _, port := range sc.Ports {
if port.SleepHandler != nil {
ports = append(ports, port)
}
}
return ports
return sc.Ports
}

0 comments on commit a53b941

Please sign in to comment.