(ctx context.Context, jobId string, rtOpts *waveobj.RuntimeOpts)
| 1050 | } |
| 1051 | |
| 1052 | func ReconnectJob(ctx context.Context, jobId string, rtOpts *waveobj.RuntimeOpts) error { |
| 1053 | _, err, _ := reconnectGroup.Do(jobId, func() (any, error) { |
| 1054 | return nil, doReconnectJob(ctx, jobId, rtOpts) |
| 1055 | }) |
| 1056 | return err |
| 1057 | } |
| 1058 | |
| 1059 | func doReconnectJob(ctx context.Context, jobId string, rtOpts *waveobj.RuntimeOpts) error { |
| 1060 | job, err := wstore.DBMustGet[*waveobj.Job](ctx, jobId) |
no test coverage detected