// Database connection charset. Changing this value will likely corrupt special characters.
'charset' => 'utf8mb4',
- // emulate_prepares (Boolean) (Experimental)
- // If enabled, prepared statements will be emulated.
- // In combination with MySQLi this will cast all return values to strings.
- 'emulate_prepares' => false,
-
- // pdo_emulate_prepares (Boolean) (Experimental)
+ // pdo_emulate_prepares (Boolean)
// If enabled, the builtin emulation for prepared statements is used.
- // Due to limitations of that emulation (all return values are casted as strings)
- // this will most likely cause issues and should not be used on production systems.
+ // This can be used as a workaround for the database error "Prepared statement needs to be re-prepared".
'pdo_emulate_prepares' => false,
// disable_pdo (Boolean)
// If it is not running and hadn't been terminated normally, it will be started automatically.
'daemon_watchdog' => false,
+ // delete_sleeping_processes (Boolean)
+ // Periodically delete waiting database processes.
+ 'delete_sleeping_processes' => false,
+
// diaspora_test (Boolean)
// For development only. Disables the message transfer.
'diaspora_test' => false,
// Number of "free" searches when system => permit_crawling is enabled.
'free_crawls' => 10,
- // frontend_worker_timeout (Integer)
- // Value in minutes after we think that a frontend task was killed by the webserver.
- 'frontend_worker_timeout' => 10,
-
// groupedit_image_limit (Integer)
// Number of contacts at which the group editor should switch from display the profile pictures of the contacts to only display the names.
// This can alternatively be set on a per account basis in the pconfig table.
// Number of worker tasks that are fetched in a single query.
'worker_fetch_limit' => 1,
+ // worker_fork (Boolean)
+ // Experimental setting. Use pcntl_fork to spawn a new worker process.
+ // Does not work when "worker_multiple_fetch" is enabled (Needs more testing)
+ 'worker_fork' => false,
+
// worker_jpm (Boolean)
// If enabled, it prints out the jobs per minute.
'worker_jpm' => false,
// worker_multiple_fetch (Boolean)
// When activated, the worker fetches jobs for multiple workers (not only for itself).
// This is an experimental setting without knowing the performance impact.
+ // Does not work when "worker_fork" is enabled (Needs more testing)
'worker_multiple_fetch' => false,
// worker_defer_limit (Integer)