You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, I have this portion of code that slows a bit the automation:
# domain length is hundreds of hundredsfordomainindomains:
result=subprocess.run(
["httpx", "-silent", "-u", domain],
capture_output=True,
text=True,
)
domain=result.stdout.strip("\n")
Do you have any suggestions or a way to improve it, please? any idea?
like maybe changing the command with a specific option ? I'm just guessing for now, maybe timeout use or I use in a different way ? like multiprocessing approach or muti threading one ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
Please, I have this portion of code that slows a bit the automation:
Do you have any suggestions or a way to improve it, please? any idea?
like maybe changing the command with a specific option ? I'm just guessing for now, maybe
timeout
use or I use in a different way ? like multiprocessing approach or muti threading one ?Regards
Beta Was this translation helpful? Give feedback.
All reactions