disable fefe and garbage collection threads
This commit is contained in:
parent
a291010ae1
commit
428814b318
14
bert.py
14
bert.py
|
@ -604,15 +604,15 @@ def main():
|
||||||
auth.set_access_token(access_token, access_secret)
|
auth.set_access_token(access_token, access_secret)
|
||||||
api = tweepy.API(auth)
|
api = tweepy.API(auth)
|
||||||
thread_command = command_thread(1)
|
thread_command = command_thread(1)
|
||||||
thread_fefe = fefe_thread(2)
|
#thread_fefe = fefe_thread(2)
|
||||||
thread_gc = gc_thread(3)
|
#thread_gc = gc_thread(3)
|
||||||
thread_command.start()
|
thread_command.start()
|
||||||
sleep(2)
|
#sleep(2)
|
||||||
thread_fefe.start()
|
#thread_fefe.start()
|
||||||
sleep(2)
|
#sleep(2)
|
||||||
thread_gc.start()
|
#thread_gc.start()
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
gc.enable()
|
#gc.enable()
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user