I have a question about how to work on a large number of accounts, I made two versions of this script to work on multiple accounts. The first version, files are copied to the second folder, there I enter the account, and so on for several, and after that I run one file through the os.system () stream. The second version, added the connection of several accounts to the source code, I launch only listen_for_channel_points () separately as a thread. The question itself, the first version works fine, but for each stream 500MB of memory, while the second version takes only 500 + -, but does not work, the question is why, I can throw the code
I have a question about how to work on a large number of accounts, I made two versions of this script to work on multiple accounts. The first version, files are copied to the second folder, there I enter the account, and so on for several, and after that I run one file through the os.system () stream. The second version, added the connection of several accounts to the source code, I launch only listen_for_channel_points () separately as a thread. The question itself, the first version works fine, but for each stream 500MB of memory, while the second version takes only 500 + -, but does not work, the question is why, I can throw the code