Aug 20 2018 01:25 PM
I have a script to delete old messages from a group. The deletion is performed in a loop and implemented a sleep time of 20 seconds after 10 requests. It's noticed at the execution time, some of the messages are not deleted due to 'Time Out' exception. There is a inbuilt logic to retry and delete. However we would like to reduce the retry. Has anyone faced similar situation and implemented a solution or any other suggestion to reduce the number of retry?!
Aug 21 2018 01:41 AM
A continuous loop making 10 calls every 20 second interval ?
Aug 21 2018 08:44 AM
Thanks, Yes, we do have the loop limiting 10 calls every 20 second.
Aug 22 2018 12:05 AM
Have you tested say 10 calls every 60 seconds to see if you get the same issues ?
We have had similar issues before regardless what is published about the API extending time in between calls has normally seen more stable results.
Aug 27 2018 07:20 PM
What is the purpose of doing this? Is there an issue with messages being "old"?