From a94afbaecf71c6bf7e6266114f982c94b21c97d5 Mon Sep 17 00:00:00 2001 From: Egg Date: Sun, 29 Jan 2023 11:30:55 +0100 Subject: [PATCH] reduce sleep to 0.5 seconds --- backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.py b/backend.py index 7249eae..5598a82 100755 --- a/backend.py +++ b/backend.py @@ -39,7 +39,7 @@ if __name__ == '__main__': for bot2 in bots: bot2.post(user, status) logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text)) - sleep(1) + sleep(0.5) except Exception: logger.error("Shutdown.", exc_info=True) shutdown()