As far as I know, you can't do this on queue level unless you have your work running on another server.
You can increase the execution time on PHP level in your .ini files
// php5
sudo sed -i "s/\memory_limit = .*/memory_limit = 1024M/" /etc/php5/fpm/php.ini
// php7.0
sudo sed -i "s/\memory_limit = .*/memory_limit = 1024M/" /etc/php/7.0/fpm/php.ini
// php7.2
sudo sed -i "s/\memory_limit = .*/memory_limit = 1024M/" /etc/php/7.2/fpm/php.ini
Make sure you restart php fpm after this and it should be applied ;)
Note: If you apply this your whole server will have a higher memory limit.