sleep
This commit is contained in:
parent
f32054f78c
commit
3af19abc74
@ -544,6 +544,7 @@ func (con Connection) AttachServer(ctx *gin.Context) {
|
||||
}
|
||||
count, err := hijacked.Reader.Read(data)
|
||||
if err != nil {
|
||||
time.Sleep(500)
|
||||
hijacked, err = con.dockerClient.ContainerAttach(context.TODO(), containers[0].ID, container.AttachOptions{Stream: true, Stdin: true, Stdout: true, Stderr: true, Logs: false})
|
||||
if err != nil {
|
||||
stop = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user