Skip to content

Commit

Permalink
Update default values for run tracker and streaming work unit handler…
Browse files Browse the repository at this point in the history
…s to more commonly used values. (#11292)
  • Loading branch information
asherf authored Dec 10, 2020
1 parent 1352cdd commit bc31814
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ plugins = [
"toolchain.pants.buildsense.plugin==0.1.0",
]

streaming_workunits_report_interval = 1

build_file_prelude_globs = ["pants-plugins/python_integration_tests_macro.py"]

# The invalidation globs cover the PYTHONPATH by default, but we exclude some files that are on the
Expand Down Expand Up @@ -144,8 +142,5 @@ interpreter_constraints = [">=3.7,<3.9"]
[sourcefile-validation]
config = "@build-support/regexes/config.yaml"

[run-tracker]
stats_option_scopes_to_record = ["*"]

[toolchain-setup]
repo = "pants"
2 changes: 1 addition & 1 deletion src/python/pants/goal/run_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def register_options(cls, register):
"--stats-option-scopes-to-record",
advanced=True,
type=list,
default=[],
default=["*"],
help="Option scopes to record in stats on run completion. "
"Options may be selected by joining the scope and the option with a ^ character, "
"i.e. to get option `pantsd` in the GLOBAL scope, you'd pass `GLOBAL^pantsd`. "
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/option/global_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def register_options(cls, register):
register(
"--streaming-workunits-report-interval",
type=float,
default=10,
default=1,
advanced=True,
help="Interval in seconds between when streaming workunit event receivers will be polled.",
)
Expand Down

0 comments on commit bc31814

Please sign in to comment.