008ce42cb55e529319f53abeb00fc6cf3918f548,src/python/pants/pantsd/service/scheduler_service.py,SchedulerService,prefork,#SchedulerService#Any#Any#,162

Before Change


        session.warm_product_graph(target_roots)

      if global_options.v2:
        if not global_options.v1:
          session.validate_goals(options.goals)

        // N.B. @console_rules run pre-fork in order to cache the products they request during execution.
        session.run_console_rules(options.goals, target_roots)

      return session, target_roots

After Change


    if options.for_global_scope().loop:
      return session, self._prefork_loop(session, options)
    else:
      return session, self._prefork_body(session, options)

  def _prefork_loop(self, session, options):
    // TODO: See https://github.com/pantsbuild/pants/issues/6288 regarding Ctrl+C handling.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pantsbuild/pants
Commit Name: 008ce42cb55e529319f53abeb00fc6cf3918f548
Time: 2018-08-06
Author: stuhood@twitter.com
File Name: src/python/pants/pantsd/service/scheduler_service.py
Class Name: SchedulerService
Method Name: prefork


Project Name: pantsbuild/pants
Commit Name: d064804b3acf89a30fefae3f6900f0414e3e3416
Time: 2019-04-20
Author: stuhood@twitter.com
File Name: src/python/pants/pantsd/service/scheduler_service.py
Class Name: SchedulerService
Method Name: _prefork_body


Project Name: pantsbuild/pants
Commit Name: d064804b3acf89a30fefae3f6900f0414e3e3416
Time: 2019-04-20
Author: stuhood@twitter.com
File Name: src/python/pants/bin/local_pants_runner.py
Class Name: LocalPantsRunner
Method Name: _maybe_run_v2