[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [gettor/master] Bump wait time after sending message



commit f08007fa90d8b53fa777d678042943ccd0a1ffcc
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Wed Oct 16 14:52:54 2019 +0200

    Bump wait time after sending message
---
 gettor/services/twitter/twitterdm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gettor/services/twitter/twitterdm.py b/gettor/services/twitter/twitterdm.py
index 33dd495..d78604a 100644
--- a/gettor/services/twitter/twitterdm.py
+++ b/gettor/services/twitter/twitterdm.py
@@ -90,7 +90,7 @@ class Twitterdm(object):
             twitter_id, message
         )
         if post_data.status_code == 200:
-            time.sleeps(30)
+            time.sleeps(61)
 
         else:
             raise RuntimeError("Error sending message: (%s)" % str(e))

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits