mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
minor comment
This commit is contained in:
@@ -21,7 +21,9 @@ const (
|
|||||||
// SyncInterval defines a regular interval to sync containers to the cluster store.
|
// SyncInterval defines a regular interval to sync containers to the cluster store.
|
||||||
SyncInterval = 30 * time.Second
|
SyncInterval = 30 * time.Second
|
||||||
|
|
||||||
// SyncStatusSynced indicates that a container record is synchronised with the Docker state.
|
// SyncStatusSynced indicates that a container record is synchronised with the Docker daemon. The record may
|
||||||
|
// become outdated even when the status is "synced" if the machine crashes or a network partition occurs.
|
||||||
|
// The cluster membership state of the machine should also be checked to determine if the record can be trusted.
|
||||||
SyncStatusSynced = "synced"
|
SyncStatusSynced = "synced"
|
||||||
// SyncStatusOutdated indicates that a container record may be outdated, for example, due to being unable
|
// SyncStatusOutdated indicates that a container record may be outdated, for example, due to being unable
|
||||||
// to retrieve the container's state from the Docker daemon or when the machine is being stopped or restarted.
|
// to retrieve the container's state from the Docker daemon or when the machine is being stopped or restarted.
|
||||||
|
|||||||
Reference in New Issue
Block a user