My working fix is to double the resize_amount for the first time. You can do it by:
* self.resize_amount = self.WRITE_CHUNKSIZE * 2
OR
* do self.resize_amount = min(self.resize_amount * 2, 8 * units.Gi) first and then do the actual resize
My working fix is to double the resize_amount for the first time. You can do it by:
* self.resize_amount = self.WRITE_ CHUNKSIZE * 2
OR
* do self.resize_amount = min(self. resize_ amount * 2, 8 * units.Gi) first and then do the actual resize