[asterisk-scf-commits] asterisk-scf/integration/ice-util-cpp.git branch "retry_deux" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Thu Apr 5 10:55:10 CDT 2012


branch "retry_deux" has been updated
       via  54946d2c286325ab9172a330b30bfab2ed3f853c (commit)
      from  31ebb4a34f9f0a4f3e1e6a0c18d655f38ebe4bed (commit)

Summary of changes:
 .../AsteriskSCF/Operations/OperationContextCache.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 54946d2c286325ab9172a330b30bfab2ed3f853c
Author: David M. Lee <dlee at digium.com>
Date:   Thu Apr 5 10:54:31 2012 -0500

    Added shared default cache TTL

diff --git a/include/AsteriskSCF/Operations/OperationContextCache.h b/include/AsteriskSCF/Operations/OperationContextCache.h
index 071bf2f..5842caf 100644
--- a/include/AsteriskSCF/Operations/OperationContextCache.h
+++ b/include/AsteriskSCF/Operations/OperationContextCache.h
@@ -45,6 +45,11 @@ class OperationContextCache;
 typedef boost::shared_ptr<OperationContextCache> OperationContextCachePtr;
 
 /**
+ * We haven't decided on a good TTL for the cache yet, so we might as well pick something and be consistent.
+ */
+const int DEFAULT_TTL_SECONDS = 180;
+
+/**
  * Utiltity class that provides a queryable cache of OperationContext objects.
  */
 class ASTSCF_DLL_EXPORT OperationContextCache :  public IceUtil::Shared

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/ice-util-cpp.git



More information about the asterisk-scf-commits mailing list