From a039cd11d76956671259e7c63b925ed35084b213 Mon Sep 17 00:00:00 2001
From: Marco Villegas <git@marvil07.net>
Date: Fri, 3 Jan 2014 09:45:34 -0500
Subject: [PATCH] Issue #2136375: Do not run versioncontrol queues on cron.

---
 versioncontrol.info   |    2 ++
 versioncontrol.module |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/versioncontrol.info b/versioncontrol.info
index cce963f..48e2fac 100644
--- a/versioncontrol.info
+++ b/versioncontrol.info
@@ -3,6 +3,8 @@ package = Version Control
 description = "An interface to version control systems whose functionality is provided by pluggable back-end modules."
 core = 7.x
 php = 5.2
+; see https://drupal.org/node/2136369
+dependencies[] = system (>=7.25)
 dependencies[] = ctools
 dependencies[] = views
 ; base entities
diff --git a/versioncontrol.module b/versioncontrol.module
index dbd0657..8fe9833 100644
--- a/versioncontrol.module
+++ b/versioncontrol.module
@@ -300,10 +300,12 @@ function versioncontrol_cron_queue_info() {
 
   $queues['versioncontrol_repomgr'] = array(
     'worker callback' => 'versioncontrol_repomgr_run_worker',
+    'skip on cron' => TRUE,
   );
 
   $queues['versioncontrol_reposync'] = array(
     'worker callback' => 'versioncontrol_reposync_run_worker',
+    'skip on cron' => TRUE,
   );
 
   return $queues;
-- 
1.7.10.4

