diff --git a/Python/stress-testing/stress_testing.py b/Python/stress-testing/stress_testing.py index 6d89e1ade5209c9768724965ae95c4551a23b4b0..efc39e68df1577c4265ee36424a039605b1d7d0d 100644 --- a/Python/stress-testing/stress_testing.py +++ b/Python/stress-testing/stress_testing.py @@ -92,7 +92,7 @@ def main(argv): cnt = 0 for channel_id in channel_ids: # Renew token - if (cnt % 1000) == 999: + if (cnt % 100) == 99: Config.renew() # Add one grappa gourp as member try: @@ -113,7 +113,7 @@ def main(argv): cnt = 0 for channel_id in channel_ids: # Renew token - if (cnt % 1000) == 999: + if (cnt % 100) == 99: Config.renew() for i in range(0, countnotifications): send_notification(channel_id, Config.NOTIFICATION_SUMMARY + str(i))