From d93451de19f7e7831e739a090fbbf8543608e978 Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Thu, 1 May 2008 23:16:50 +0200 Subject: [PATCH] Ensures requests to the Google Apps API are processed as soon as possible (and before batch requests used to re-synchronize the local user accounts mirror with the main database at Google). Signed-off-by: Vincent Zanotti --- include/googleapps.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/googleapps.inc.php b/include/googleapps.inc.php index 1e9ee3c..28d9459 100644 --- a/include/googleapps.inc.php +++ b/include/googleapps.inc.php @@ -247,7 +247,7 @@ class GoogleAppsAccount // Creates a queue job of the @p type, for the user represented by this // GoogleAppsAccount object, using @p parameters. @p parameters is supposed // to be a one-dimension array of key-value mappings. - // The created job as a 'normal' priority, and is scheduled for immediate + // The created job as a 'immediate' priority, and is scheduled for immediate // execution. private function create_queue_job($type, $parameters) { $parameters["username"] = $this->g_account_name; @@ -255,7 +255,7 @@ class GoogleAppsAccount "INSERT INTO gapps_queue SET q_owner_id = {?}, q_recipient_id = {?}, p_entry_date = NOW(), p_notbefore_date = NOW(), - p_priority = 'normal', + p_priority = 'immediate', j_type = {?}, j_parameters = {?}", S::v('uid'), $this->uid, -- 2.1.4