ProxyBroker icon indicating copy to clipboard operation
ProxyBroker copied to clipboard

Is there possible way to keep getting proxies among weeks?

Open myme5261314 opened this issue 8 years ago • 2 comments

So, the current Broker.serve code seems to generate proxies once from all the providers.

I mean if we run the server for a long time, say a week, as you know those proxies' lifetime is rather short. The majority or even whole of them will be dead a week later.

This means we can only serve by an uncertain amount of time, maybe one day, or another day.

So, when the Broker._proxies, ProxyPool._pool is both empty, the server is dead.

Any suggestion to add some code to prevent this? Actually, the project structure is a bit hard to get well understood in a short time. Maybe you @constverum , as the author, can supply some hint?

myme5261314 avatar Jul 12 '16 03:07 myme5261314

You can loop the launch of the script at system level if you are using cli versioversf you used a script just call the whole thing when dies.

erm3nda avatar Oct 25 '17 05:10 erm3nda

Omg autocorrect doing nasty things.

erm3nda avatar Oct 25 '17 05:10 erm3nda