List Info

Thread: New - 1M retries on login




New - 1M retries on login
user name
2008-02-21 04:22:28
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=87
                 Issue #|87
                 Summary|1M retries on login
               Component|pysvn
                 Version|1.5.0
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|extension
             Assigned to|barryscott
             Reported by|tommie






------- Additional comments from tommietigris.org Thu Feb 21 02:22:27 -0800 2008 -------
In pysvn_setenv.cpp, the number of retries for the login
provider is set to
1,000,000 for the >=1.4 case and to 3 for the other
case.

I was implementing a batch-daemon which supplied a
non-existant username all the
time, resulting in a lock-up of the python-thread running
pysvn.checkout() (and
rather heavy load on the Apache server .

Is this intentional? I could implement a retry counter in
the callback, but it
would be hard to know when to reset the counter between SVN
backend requests.

------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


1M retries on login
user name
2008-02-23 10:01:43
htt
p://pysvn.tigris.org/issues/show_bug.cgi?id=87



User barryscott changed the following:

                What    ld value 
               |New value
============================================================
====================
                  Status|NEW                      
|RESOLVED
------------------------------------------------------------
--------------------
              Resolution|                         
|WORKSFORME
------------------------------------------------------------
--------------------




------- Additional comments from barryscotttigris.org Sat Feb 23 08:01:43 -0800 2008 -------
It is intentional so that the retry policy is implemented
in
python code and not the extension.

For a GUI I see no reason to have a limit. The interactive
user
can try as often as they like.

In your batch case on the second attempt you can fail the
get_login call as you suggested.


------------------------------------------------------------
---------
To unsubscribe, e-mail: issues-unsubscribepysvn.tigris.org
For additional commands, e-mail: issues-helppysvn.tigris.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )