fix(api): define tile size for logging
This commit is contained in:
parent
99a073aed2
commit
7c1b85f793
|
@ -140,13 +140,13 @@ class ChainPipeline:
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
tile = stage_params.tile_size
|
||||||
|
if stage_pipe.max_tile > 0:
|
||||||
|
tile = min(stage_pipe.max_tile, stage_params.tile_size)
|
||||||
|
|
||||||
if must_tile:
|
if must_tile:
|
||||||
stage_outputs = []
|
stage_outputs = []
|
||||||
for source in stage_sources:
|
for source in stage_sources:
|
||||||
tile = stage_params.tile_size
|
|
||||||
if stage_pipe.max_tile > 0:
|
|
||||||
tile = min(stage_pipe.max_tile, stage_params.tile_size)
|
|
||||||
|
|
||||||
logger.info(
|
logger.info(
|
||||||
"image larger than tile size of %s, tiling stage",
|
"image larger than tile size of %s, tiling stage",
|
||||||
tile,
|
tile,
|
||||||
|
|
Loading…
Reference in New Issue