From 57894edd34199eba4826bb6bb446c29f3fed765e Mon Sep 17 00:00:00 2001
From: Tim Steiner <tsteiner2@unl.edu>
Date: Mon, 16 Sep 2019 17:15:36 +0000
Subject: [PATCH] Turn off file locking when using the default Zend_Cache_File
 ticket cache.  It has poor performance and doesn't even support NFS.

---
 library/Unl/Cas.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/library/Unl/Cas.php b/library/Unl/Cas.php
index 7a0ba8c..f2d2657 100644
--- a/library/Unl/Cas.php
+++ b/library/Unl/Cas.php
@@ -323,7 +323,8 @@ class Unl_Cas
                 'automatic_serialization' => TRUE
             );
             $backendOptions = array(
-                'cache_dir' => $cache_dir
+                'cache_dir' => $cache_dir,
+                'file_locking' => FALSE
             );
             $this->_ticketCache = Zend_Cache::factory('Core', 'File', $frontendOptions, $backendOptions);
         }
-- 
GitLab