Skip to content

Commit

Permalink
Merge commit '73ae920bbbec0de362fe981f15669a94c0965e7a' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Feb 1, 2024
2 parents ba5431a + 73ae920 commit c3cdc08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions conf/recordmanager.ini.sample
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ counts = false
;username = "recman"
; Password
;password = "topsecret"
; Whether to use index hints (MySQL/MariaDB). Recommended to keep enabled (default)
; Whether to use index hints (MySQL/MariaDB). Recommended to keep disbled (default)
; unless trying to solve performance issues.
use_index_hints = true
use_index_hints = false

[Solr]
; Update URL. Note that RecordManager requires that the json update method be available.
Expand Down
2 changes: 1 addition & 1 deletion src/RecordManager/Base/Database/PDODatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function __construct(array $config)
$this->dsn = $config['connection'] ?? '';
$this->username = $config['username'] ?? '';
$this->password = $config['password'] ?? '';
$this->useIndexHints = (bool)($config['use_index_hints'] ?? true);
$this->useIndexHints = (bool)($config['use_index_hints'] ?? false);
}

/**
Expand Down

0 comments on commit c3cdc08

Please sign in to comment.