summaryrefslogtreecommitdiff
path: root/includes/jobs/UpdateContactMethods.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/jobs/UpdateContactMethods.php')
-rw-r--r--includes/jobs/UpdateContactMethods.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/jobs/UpdateContactMethods.php b/includes/jobs/UpdateContactMethods.php
index 1341791..ab1c1d9 100644
--- a/includes/jobs/UpdateContactMethods.php
+++ b/includes/jobs/UpdateContactMethods.php
@@ -39,7 +39,7 @@ foreach ($methods as $name => $method) {
$return = [];
$cmd = "cd \"$_SERVER[DOCUMENT_ROOT]/includes/external/addressbook\" && node \"$_SERVER[DOCUMENT_ROOT]/includes/external/addressbook/$name.js\" \"" . str_replace('"', "''", $contacts[$id][$name]) . "\"";
- exec($cmd, $return);
+ exec("nice 19 " . $cmd, $return);
$json = trim(implode("\n", $return));
$cache[$name][$contacts[$id][$name]] = [