(state BackgroundProcessState)
| 724 | } |
| 725 | |
| 726 | func isBackgroundManagerStopped(state BackgroundProcessState) bool { |
| 727 | return state == BackgroundProcessStateStopped || state == BackgroundProcessStateCompleted || state == BackgroundProcessStateError || state == "" |
| 728 | } |
| 729 | |
| 730 | // waitForBGTCompletion waits for all the background tasks to finish. |
| 731 | func waitForBGTCompletion(ctx context.Context, waitTimeMax time.Duration, tasks []BackgroundTask, dbName string) { |
no outgoing calls
no test coverage detected