Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Do not poll for container stop. #569

@Random-Liu

Description

@Random-Liu

Currently, during container stop, we poll every 0.1s to see whether a container is stopped.

When we stop a batch of containers, this may consume extra CPU.

We should add a channel stopCh for this in container metadata. Let event monitor close the channel, and stop function only need to wait for the channel.

@yanxuean @miaoyq

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions