diff options
author | Urban Müller | 2023-02-28 18:27:22 +0100 |
---|---|---|
committer | Urban Müller | 2023-02-28 18:27:22 +0100 |
commit | 738295ba1efa2bbb4eefca5966fe87474df3ab30 (patch) | |
tree | fa58ca165a6eaaaef96e5cbe01c64bd6c1c12865 | |
parent | 89f5ff8591708188f1d2ccceaac288182ec097ed (diff) | |
download | itools-738295ba1efa2bbb4eefca5966fe87474df3ab30.tar.gz itools-738295ba1efa2bbb4eefca5966fe87474df3ab30.tar.bz2 itools-738295ba1efa2bbb4eefca5966fe87474df3ab30.zip |
Revert "half speed writes in batch jobs, goes easy on replication slaves": measure unthrottled runtimes first
This reverts commit 89f5ff8591708188f1d2ccceaac288182ec097ed.
-rw-r--r-- | it_dbi.class | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index 9914732..6e34002 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -78,7 +78,6 @@ function __construct($p = array(), $query = null, ...$args) $p += $dp; # Combine our settings with user's defaults and class defaults - $this->_defaultconfig['throttle_writes'] = $_SERVER['REMOTE_ADDR'] ? 0 : 1; $p += (array)$GLOBALS[static::$_global_key . '_defaultconfig'] + array('db' => $GLOBALS['ULTRADB']) + $this->_defaultconfig + array('charset' => strtr(strtolower(ini_get('default_charset')), array('iso-8859-1' => 'latin1', 'utf-8' => 'utf8mb4', 'utf8' => 'utf8mb4'))); unset($this->_defaultconfig); # to shorten ED() output |