Skip to content

Conversation

@turbaszek
Copy link
Member


Make sure to mark the boxes below before creating PR: [x]

  • Description above provides context of the change
  • Unit tests coverage for changes (not needed for documentation changes)
  • Target Github ISSUE in description if exists
  • Commits follow "How to write a good git commit message"
  • Relevant documentation is updated including usage instructions.
  • I will engage committers as explained in Contribution Workflow Example.

In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@boring-cyborg boring-cyborg bot added the area:Scheduler including HA (high availability) scheduler label Jun 1, 2020
ti.set_state(state=State.SCHEDULED)

mock_agent = mock.MagicMock()
mock_agent.harvest_simple_dags.return_value = [SimpleDag(d) for d in dagbag.dags.values()]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number of queries depends on whether this value is None or not.

if not self._validate_and_run_task_instances(simple_dag_bag=simple_dag_bag):

if simple_dag_bag.simple_dags:

@turbaszek turbaszek marked this pull request as ready for review June 3, 2020 08:01
@turbaszek turbaszek merged commit 11d726d into apache:master Jun 3, 2020
@turbaszek turbaszek deleted the scheduler-perf-tests branch June 3, 2020 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:performance area:Scheduler including HA (high availability) scheduler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants