Resolve this todo in MultiversionManager.php


  /**
   * {@inheritdoc}
   *
   * @todo Consider using the nextId API to generate more sequential IDs.
   * @see \Drupal\Core\Database\Connection::nextId
   */
  public function newSequenceId() {
    // Multiply the microtime by 1 million to ensure we get an accurate integer.
    // Credit goes to @letharion and @logaritmisk for this simple but genius
    // solution.
    $this->lastSequenceId = (int) (microtime(TRUE) * 1000000);
    return $this->lastSequenceId;
  }

Comments

stevector created an issue. See original summary.

stevector’s picture