This commit is contained in:
retoor 2024-12-14 06:34:40 +01:00
parent d501aa5076
commit 74a57de434

View File

@ -31,26 +31,6 @@ def bot_task(username, password):
def main(): def main():
args = parse_args() args = parse_args()
<<<<<<< HEAD
with Executor(500) as executor:
usernames = [
# "no-spam1",
# "no-spam2",
# "no-spam3",
# "no-spam4",
# "no-spam",
"no-spam2353",
"no-spam2351",
"no-spam2350",
"no-spam2349",
"JamesMedina",
"MichelleWeeks",
"JaredRuiz",
"LoriMcgee",
"AmandaFloyd",
]
for username in usernames:
=======
usernames = [ usernames = [
# "no-spam1", # "no-spam1",
# "no-spam2", # "no-spam2",
@ -69,8 +49,7 @@ def main():
] ]
with Executor(len(usernammes) + 1) as executor: with Executor(len(usernammes) + 1) as executor:
for username in usernames: for username in usernames:
>>>>>>> bd8abd5 (Better process pool..)
executor.submit(bot_task, f"{username}@molodetz.nl", args.password) executor.submit(bot_task, f"{username}@molodetz.nl", args.password)
executor.shutdown(wait=True) executor.shutdown(wait=True)