block capacity in the same job

General discussions and questions.
Post Reply
Posts: 62
Joined: Sat Jan 21, 2017 9:43 pm
Location: Toronto

block capacity in the same job

Post 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?


Rocky Linux 8.5, cgru 3.2.1
User avatar
Site Admin
Posts: 831
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev

Re: block capacity in the same job

Post by timurhai »

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.
Timur Hairulin
CGRU 3.3.0, Ubuntu 20.04 LTS, MS Windows 10 (clients only).
Post Reply