how to get info on failure in response scheduler push notiifcation
-
sogescomputer
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 6
-
Thank you received: 0
-
-
7 years 1 month ago #6407
by sogescomputer
1) I receive this : {"status":"ok","batch_size":100,"sent":100,"success":96,"failure":4}
The failure value change every time: what it depends on. How can I have info on this failure?
2) I've changed batch_size from 10 to 100. My table contains more then 500 devices and it's growing. Is suitable this value or can I set 500?
3) When devices are about 5000, is there a way to run the scheduler until the queue completes, avoiding having to run it with a cron? When the queue is empty the cron will work inadvertently
Thanks in advance.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
7 years 1 month ago #6412
by admin
Hi.
1) In the current version there is no way to get additional information about the errors.
2) 500 each execution seems a suitable value to me. You could also put an higher value, just stay under your execution timeout.
3) My suggestion in your case is to schedule the cron job every minute, don't worry about the queue, nothing happens when the queue is empty. So you just need a batch size great enough to have the queue almost always empty.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.111 seconds