close_memcached_async¶
-
privex.helpers.plugin.
close_memcached_async
(thread_id=None) → bool[source]¶ Close the global Async Memcached connection and delete the instance.
- Parameters
thread_id – Close and delete the Memcached instance for this thread ID, instead of the detected current thread
- Return bool deleted
True
if an instance was found and deleted.False
if there was no existing Memcached instance.