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
Trueif an instance was found and deleted.Falseif there was no existing Memcached instance.