Page 1 of 1

block capacity in the same job

Posted: Tue May 10, 2022 1:08 am
by keyframe
Hey Timur,

Is it possible to set the capacity of a single block of a job independntly?

imagine a job that has two blocks. First block rsproxy generation, second block redshift.

I would like the first block to have a capacity of 100 (which i'm setting using af.Block.setCapacity(100)), and the second block to have the capacity of 1000 (which i'm not setting as 1000 is my default)...
I'm able to change the capcity after I submit the job, via the gui, but for some reason the API call goes ignored. Both blocks start with capacity 1000.

Am I doing something wrong?

Best,

G

Re: block capacity in the same job

Posted: Wed May 11, 2022 9:58 am
by timurhai
Hi!
Capacity is a block parametr originaly.
So you can set capacity for each block independently from an API or GUI.
There is no "job" capacity.