mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
add opptimistic sleep on corrosion service start to wait for schema initialisation
This commit is contained in:
1 parent
fd3ad91136
commit
e5bda92ec6
4 files changed
+29
-18
No files matched your search
@@ -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