Permalink
Browse files

Adding a faq on sequence usage

  • Loading branch information...
1 parent bc1a506 commit cd2ca9f6e4d415c5075b2c0b9a4c207bc09c25ab @bdelbosc bdelbosc committed Nov 21, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 doc/source/faq.rst
View
@@ -45,6 +45,16 @@ How to accept invalid Cookies ?
# 'request host "%s"'%(domain, server)
+How to share a counter between concurrent users ?
+--------------------------------------------------
+
+* The credential server can serve a sequence. Using ``xmlrpc_get_seq``
+ threads can share a sequence::
+
+ from funkload.utils import xmlrpc_get_seq
+ ...
+ seq = xmlrpc_get_seq()
+
How to set a timeout on request ?

0 comments on commit cd2ca9f

Please sign in to comment.