mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 03:53:33 +00:00
add opptimistic sleep on corrosion service start to wait for schema initialisation
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user