fix: keep cancellation pending until execution cleanup is confirmed
This commit is contained in:
@@ -42,6 +42,9 @@ func main() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
defer store.Close()
|
||||
if err := store.AcquireServerLock(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
ctx, stop := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
|
||||
defer stop()
|
||||
artifactsRoot := filepath.Join(filepath.Dir(*db), "artifacts")
|
||||
|
||||
Reference in New Issue
Block a user