add opptimistic sleep on corrosion service start to wait for schema initialisation

This commit is contained in:
Pavel Sviderski committed 2024-10-04 16:19:07 +10:00
1 parent fd3ad91136
commit e5bda92ec6
4 files changed
+29 -18

No files matched your search

+4 -2
View File
@@ -1,7 +1,9 @@
package corroservice
import "context"
type Service interface {
Start() error
Restart() error
Start(ctx context.Context) error
Restart(ctx context.Context) error
Running() bool
}