107c107 < index 1d0621e0e5..471316ba49 100644 --- > index 1d0621e0e5..c2b76c97e3 100644 110c110 < @@ -87,8 +87,9 @@ protected function doCreateItem($data) { --- > @@ -87,9 +87,10 @@ protected function doCreateItem($data) { 115a116 > - 'created' => time(), 119c120 < 'created' => time(), --- > + 'created' => \Drupal::time()->getCurrentTime(), 121a123 > return $query->execute(); 206c208 < index c9c19a5c30..d66c4cb71e 100644 --- > index c9c19a5c30..1e1a54b40b 100644 214c216 < + if ((time() - \Drupal::time()->getRequestTime()) > static::$maxExecTime) { --- > + if ((\Drupal::time()->getCurrentTime() - \Drupal::time()->getRequestTime()) > static::$maxExecTime) { 223c225 < + if ((time() - \Drupal::time()->getRequestTime()) > static::$maxExecTime) { --- > + if ((\Drupal::time()->getCurrentTime() - \Drupal::time()->getRequestTime()) > static::$maxExecTime) {