Ads1115 multiplexor separate gain for each

I’m currently running two CT sensors on an ads1115. As per the data sheet I set up the ads1115 hub and then I initialized the two sensors indicating the pin config with the appropriate “multiplexor:” value for each

This works as is but Im curious about the possibility of measuring circuits with very large differences in expected current.

I know that you can set the gain by calling a function and then take a measurement and then call the setgain function again and take a second measurement.

Is this how the esp home does it behind the scenes or does the gain have to be the same for each sensor on the hub?