Commit 1627ba2
Support flow orchestrator launches in JSON mode (#1108)
Summary:
`OrchestratorRunner` was not being correctly initialized for JSON cases since the JSON input was parsed after Runner initialized.
This diff moves some of the logic around to make sure:
- in FB version, the correct scheduler is logged
- JSON parsing isn't repeated unnecessarily
- if JSON mode is used, the scheduler is parsed before getting the runner to account for `single_orchestrator_runner` scheduler usage
Differential Revision: D817054621 parent 9247816 commit 1627ba2
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
| |||
419 | 420 | | |
420 | 421 | | |
421 | 422 | | |
422 | | - | |
423 | | - | |
424 | 423 | | |
425 | | - | |
426 | | - | |
| 424 | + | |
427 | 425 | | |
428 | 426 | | |
429 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
430 | 433 | | |
431 | 434 | | |
432 | 435 | | |
433 | 436 | | |
| 437 | + | |
434 | 438 | | |
435 | 439 | | |
436 | 440 | | |
| |||
0 commit comments