mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	Fixed #2561 -- memcached cache backend no longer ignores default timeout. Thanks for the report and patch, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		
							
								
								
									
										2
									
								
								django/core/cache/backends/memcached.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								django/core/cache/backends/memcached.py
									
									
									
									
										vendored
									
									
								
							| @@ -20,7 +20,7 @@ class CacheClass(BaseCache): | ||||
|             return val | ||||
|  | ||||
|     def set(self, key, value, timeout=0): | ||||
|         self._cache.set(key, value, timeout) | ||||
|         self._cache.set(key, value, timeout or self.default_timeout) | ||||
|  | ||||
|     def delete(self, key): | ||||
|         self._cache.delete(key) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user