× Requests and support related to jBackend.

how to get info on failure in response scheduler push notiifcation

  • sogescomputer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 6 months 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.

More
6 years 6 months 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.121 seconds