You are here

function queue_mail_update_8001 in Queue Mail 8

Set configuration settings for a retry limit.

File

./queue_mail.install, line 61
Install, update and uninstall functions for the Queue Mail module.

Code

function queue_mail_update_8001() {
  \Drupal::configFactory()
    ->getEditable('queue_mail.settings')
    ->set('threshold', 50)
    ->set('requeue_interval', 10800)
    ->save();
}