mirror of
https://github.com/docker/compose.git
synced 2026-11-04 19:24:23 +00:00
Adjust the debouncing logic so that it applies to all inbound file events, regardless of whether they match a sync or rebuild rule. When the batch is flushed out, if any event for the service is a rebuild event, then the service is rebuilt and all sync events for the batch are ignored. If _all_ events in the batch are sync events, then a sync is triggered, passing the entire batch at once. This provides a substantial performance win for the new `tar`-based implementation, as it can efficiently transfer the changes in bulk. Additionally, this helps with jitter, e.g. it's not uncommon for there to be double-writes in quick succession to a file, so even if there's not many files being modified at once, it can still prevent some unnecessary transfers. Signed-off-by: Milas Bowman <milas.bowman@docker.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| assert.go | ||
| build_test.go | ||
| cancel_test.go | ||
| compose_environment_test.go | ||
| compose_exec_test.go | ||
| compose_run_test.go | ||
| compose_test.go | ||
| compose_up_test.go | ||
| cp_test.go | ||
| ddev_test.go | ||
| e2e_config_plugin.go | ||
| e2e_config_standalone.go | ||
| framework.go | ||
| ipc_test.go | ||
| logs_test.go | ||
| main_test.go | ||
| metrics_test.go | ||
| networks_test.go | ||
| pause_test.go | ||
| profiles_test.go | ||
| ps_test.go | ||
| pull_test.go | ||
| recreate_no_deps_test.go | ||
| restart_test.go | ||
| secrets_test.go | ||
| start_stop_test.go | ||
| up_test.go | ||
| volumes_test.go | ||
| wait_test.go | ||
| watch_test.go | ||